aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-h1940.c
diff options
context:
space:
mode:
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>2009-12-03 02:45:15 -0500
committerLen Brown <len.brown@intel.com>2009-12-09 15:54:33 -0500
commit325fb8e9aeddf7bf8a7a892869dca00e7305c41e (patch)
tree7171a806baf28188a576b95a5682d19dc783877e /drivers/leds/leds-h1940.c
parentf90be874303eddc53c199083a37bc44d65ab8351 (diff)
eeepc-laptop: re-add check for eeepc->backlight == NULL
As Corentin points out, we do not create a backlight device if the ACPI video driver is able to provide equivalent functionality. So we do need to check before we try to update the backlight device. We now ignore brightness events completely if we have not created a backlight device. This is slightly more cautious than the original check. Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/leds/leds-h1940.c')
0 files changed, 0 insertions, 0 deletions