thinkpad-acpi: untangle ACPI/vendor backlight selection
commit5cedde9a1cdef9b19b8f21fabd5cb07310b1325f
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sat, 6 Aug 2011 02:58:05 +0000 (5 23:58 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sat, 6 Aug 2011 02:58:05 +0000 (5 23:58 -0300)
tree4bc766444d355b26366004e76adabb9002c90b9e
parent3da5a9393f1673e22c0eb1c0cd306692dee2bfa9
thinkpad-acpi: untangle ACPI/vendor backlight selection

acpi_video_backlight_support() already tells us if ACPI is handling
backlight control through the generic ACPI handle.  It is better to just
trust it.

While at it, adjust down a printk priority, and test earlier for
brightness_enable=0.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Documentation/laptops/thinkpad-acpi.txt
drivers/platform/x86/thinkpad_acpi.c