thinkpad_acpi: add the ability setting TPACPI_LED_NONE by quirk
authorAdam Lee <adam.lee@canonical.com>
Fri, 7 Jun 2013 08:20:08 +0000 (16:20 +0800)
committerMatthew Garrett <matthew.garrett@nebula.com>
Thu, 5 Sep 2013 12:51:24 +0000 (08:51 -0400)
commitfcb44e12d38a18f99d22ff66e739bb2f2ac762f0
treeefe9105ff47d890dc7d8a3081a52ca528189e8d4
parentedf2d7780da5d96a168da7e31b36fb11620106d3
thinkpad_acpi: add the ability setting TPACPI_LED_NONE by quirk

Some new Lenovo or ThinkPad laptops don't have EC controllable LEDs,
their LED quirks are 0. This patch set led_supported=TPACPI_LED_NONE
when quirk equals 0.

Signed-off-by: Adam Lee <adam.lee@canonical.com>
Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/thinkpad_acpi.c