Merge branch 'for-linus' of git://git.o-hand.com/linux-rpurdie-backlight
* 'for-linus' of git://git.o-hand.com/linux-rpurdie-backlight: backlight: new driver for ADP5520/ADP5501 MFD PMICs backlight: extend event support to also support poll() backlight/eeepc-laptop: Update the backlight state when we change brightness backlight/acpi: Update the backlight state when we change brightness backlight: Allow drivers to update the core, and generate events on changes backlight: switch to da903x driver to dev_pm_ops backlight: Add support for the Avionic Design Xanthos backlight device. backlight: spi driver for LMS283GF05 LCD backlight: move hp680-bl's probe function to .devinit.text backlight: Add support for new Apple machines. backlight: mbp_nvidia_bl: add support for MacBookAir 1,1 backlight: Add WM831x backlight driver Trivial conflicts due to '#ifdef CONFIG_PM' differences in drivers/video/backlight/da903x_bl.c
This commit is contained in:
@@ -624,7 +624,7 @@ static int notify_brn(void)
|
||||
struct backlight_device *bd = eeepc_backlight_device;
|
||||
if (bd) {
|
||||
int old = bd->props.brightness;
|
||||
bd->props.brightness = read_brightness(bd);
|
||||
backlight_force_update(bd, BACKLIGHT_UPDATE_HOTKEY);
|
||||
return old;
|
||||
}
|
||||
return -1;
|
||||
|
Reference in New Issue
Block a user