thinkpad-acpi: issue backlight class events
commit66718cad83bb15ede62b6286540697285efa2a80
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Fri, 4 Dec 2009 11:13:31 +0000 (4 09:13 -0200)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Fri, 4 Dec 2009 11:13:31 +0000 (4 09:13 -0200)
tree4d13d2f5ae90554d64a3e47cda9931817c2cfea0
parent42dd94e36467cc84a92d19c129837b79f247e85a
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