* + drivers-video-backlight-adp8860_blc-remove-a-redundant-assignment-for-max_brightness.patch added to -mm tree
@ 2011-07-13 0:03 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2011-07-13 0:03 UTC (permalink / raw)
To: mm-commits; +Cc: axel.lin, vapier
The patch titled
drivers/video/backlight/adp8860_bl.c: remove a redundant assignment for max_brightness
has been added to the -mm tree. Its filename is
drivers-video-backlight-adp8860_blc-remove-a-redundant-assignment-for-max_brightness.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: drivers/video/backlight/adp8860_bl.c: remove a redundant assignment for max_brightness
From: Axel Lin <axel.lin@gmail.com>
We have set props.max_brightness before registering backlight device.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/video/backlight/adp8860_bl.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff -puN drivers/video/backlight/adp8860_bl.c~drivers-video-backlight-adp8860_blc-remove-a-redundant-assignment-for-max_brightness drivers/video/backlight/adp8860_bl.c
--- a/drivers/video/backlight/adp8860_bl.c~drivers-video-backlight-adp8860_blc-remove-a-redundant-assignment-for-max_brightness
+++ a/drivers/video/backlight/adp8860_bl.c
@@ -721,8 +721,7 @@ static int __devinit adp8860_probe(struc
goto out2;
}
- bl->props.max_brightness =
- bl->props.brightness = ADP8860_MAX_BRIGHTNESS;
+ bl->props.brightness = ADP8860_MAX_BRIGHTNESS;
data->bl = bl;
_
Patches currently in -mm which might be from axel.lin@gmail.com are
linux-next.patch
drivers-video-backlight-ld9040c-small-fixes.patch
drivers-video-backlight-adp8860_blc-remove-a-redundant-assignment-for-max_brightness.patch
backlight-add-ams369fg06-amoled-driver-unregister-backlight-device-when-unload-the-module.patch
backlight-ams369fg06-staticize-ams369fg06_shutdown.patch
backlight-set-backlight-type-and-max_brightness-before-backlights-are-registered.patch
drivers-video-backlight-aat2870_blc-fix-error-checking-for-backlight_device_register.patch
drivers-video-backlight-aat2870_blc-fix-setting-max_current.patch
drivers-video-backlight-aat2870_blc-make-it-buildable-as-a-module.patch
drivers-leds-leds-sunfirec-fix-sunfire_led_generic_probe-error-handling.patch
drivers-leds-leds-netxbig-make-leds_netxbig-depend-on-leds_class.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-07-13 0:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-13 0:03 + drivers-video-backlight-adp8860_blc-remove-a-redundant-assignment-for-max_brightness.patch added to -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).