diff options
author | Matthew Garrett <mjg@redhat.com> | 2009-07-14 17:06:02 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-09-21 21:03:58 +0100 |
commit | 325253a6b2de4bdfa9ef0e28b5df8a4a4fe2b677 (patch) | |
tree | a9fff6fda2ac9f36b494779e76e66222ce540b28 /drivers/platform | |
parent | 0f7e7273803aa03ad7a0e210461a3db9d35e7abb (diff) |
backlight: Allow drivers to update the core, and generate events on changes
Certain hardware will send us events when the backlight brightness
changes. Add a function to update the value in the core, and
additionally send a uevent so that userspace can pop up appropriate
UI. The uevents are flagged depending on whether the update originated
in the kernel or from userspace, making it easier to only display UI
at the appropriate time.
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'drivers/platform')
0 files changed, 0 insertions, 0 deletions