thinkpad-acpi: issue backlight class events
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Wed, 9 Dec 2009 01:36:24 +0000 (01:36 +0000)
committerLen Brown <len.brown@intel.com>
Wed, 9 Dec 2009 20:45:30 +0000 (15:45 -0500)
commit347a26860e2293b1347996876d3550499c7bb31f
treeedd7781ecd31f9771b8adf4458eecdd6ed0e9607
parent90765c6aee568137521ba19347c744b5abde8161
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>
Cc: Richard Purdie <rpurdie@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Documentation/laptops/thinkpad-acpi.txt
drivers/platform/x86/thinkpad_acpi.c