msi-wmi: depend on backlight and fix corner-cases problems
authorAnisse Astier <anisse@astier.eu>
Mon, 14 Dec 2009 09:21:39 +0000 (10:21 +0100)
committerLen Brown <len.brown@intel.com>
Wed, 16 Dec 2009 17:40:54 +0000 (12:40 -0500)
commitde078e5747fa3a95efac04fd6725dcceb4520416
treeb106fc602480d0a29bd475647b495ce6be24ecc8
parentc30116c6f0d26cd6e46dfa578163d573ef4730b2
msi-wmi: depend on backlight and fix corner-cases problems

Now depends on BACKLIGHT_CLASS_DEVICE.
Driver will return an error if it can't get actual backlight value
Fix remapping of brightness keys when backlight is not controlled by ACPI.

Signed-off-by: Anisse Astier <anisse@astier.eu>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/Kconfig
drivers/platform/x86/msi-wmi.c