thinkpad-acpi: enhance led support
commitf21179a47ff8d1046a61c1cf5920244997a4a7bb
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sat, 30 May 2009 16:25:08 +0000 (30 13:25 -0300)
committerLen Brown <len.brown@intel.com>
Thu, 18 Jun 2009 02:48:22 +0000 (17 22:48 -0400)
treef90635e4dc7f5602d960a199877a4bb20c6b7be6
parent60201732f03c1231742e5872abe55a3bf59849a5
thinkpad-acpi: enhance led support

Add support for extra LEDs on recent ThinkPads, and avoid registering
with the led class the LEDs which are not available for a given
ThinkPad model.

All non-restricted LEDs are always available through the procfs
interface, as the firmware doesn't care if an attempt is made to
access an invalid LED.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Len Brown <len.brown@intel.com>
Documentation/laptops/thinkpad-acpi.txt
drivers/platform/x86/thinkpad_acpi.c