thinkpad-acpi: issue backlight class events
commit18a81f703ea74d1ca0e4cb13a9f5ea469e89af64
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sat, 14 Nov 2009 02:52:31 +0000 (14 00:52 -0200)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sat, 14 Nov 2009 02:52:31 +0000 (14 00:52 -0200)
treeaf428f487e6d8d05c66d77863c0b5ced62606377
parent6ead680ba92bcd23f230be0d4cc306fcf908b91c
thinkpad-acpi: issue backlight class events

Take advantage of the new events capabilities of the backlight class to
notify userspace of backlight changes.

This depends on "backlight: Allow drivers to update the core, and
generate events on changes", by Matthew Garrett.

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