]> bbs.cooldavid.org Git - net-next-2.6.git/commit
thinkpad-acpi: untangle ACPI/vendor backlight selection
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Tue, 10 Aug 2010 02:48:19 +0000 (23:48 -0300)
committerMatthew Garrett <mjg@redhat.com>
Mon, 16 Aug 2010 15:54:50 +0000 (11:54 -0400)
commit217f09631a420295a9688e18aa4dbad1b385e56c
tree4b3f7890f28abad25c1bf3ff2b4b60499c06765d
parent122f26726b5e16174bf8a707df14be1d93c49d62
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