thinkpad-acpi: enhance led support
commit926c6cfd9a0dd88d8dff7bfdd77449772dc9417b
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Fri, 4 Dec 2009 11:12:46 +0000 (4 09:12 -0200)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Fri, 4 Dec 2009 11:12:46 +0000 (4 09:12 -0200)
tree6e59170afdfc1e4907d75991aebb5571808bd3e8
parent3771e9bdea0e716195636708c3adf880075e293b
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>
Documentation/laptops/thinkpad-acpi.txt
drivers/platform/x86/thinkpad_acpi.c