thinkpad-acpi: issue backlight class events
commitc01c42d74482fbd0f5d87c93b98d57ace21a226d
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Wed, 7 Jul 2010 02:06:38 +0000 (6 23:06 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Wed, 7 Jul 2010 02:06:38 +0000 (6 23:06 -0300)
tree7d11778ae5f435a7ca918d0ead0900d0c596e5a8
parent481ea31ad4ff2787f54b83073e409585395f2b86
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