ACPI: thinkpad-acpi: disable backlight handler if ACPI generic could do it
commitd8fee2c2afd08081279af21f5d811f3ad2d46be9
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Mon, 8 Oct 2007 00:02:54 +0000 (7 21:02 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 7 Oct 2007 21:42:21 +0000 (7 18:42 -0300)
treef057bb56ed18bae8bc05539ed33be7827f5d78d5
parent708581874881198ac9e52a0b9eb6d078a4e51915
ACPI: thinkpad-acpi: disable backlight handler if ACPI generic could do it

If we detect the presence of _BCL on a Lenovo ThinkPad, it means there is
support for ACPI standard backlight brightness control.  In that case, it
is probably best to not make the ThinkPad-specific backlight interface
available.

Provide a Kconfig option (default disabled) to make the ThinkPad-specific
backlight always available, even if there is generic ACPI backlight
support in the DSDT.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Matthew Garrett <mjg59@srcf.ucam.org>
Documentation/thinkpad-acpi.txt
drivers/misc/Kconfig
drivers/misc/thinkpad_acpi.c