summaryrefslogtreecommitdiffstats
path: root/drivers/uio
diff options
context:
space:
mode:
authorMatthew Garrett <mjg@redhat.com>2009-07-14 18:06:02 +0200
committerRichard Purdie <rpurdie@linux.intel.com>2009-09-21 22:03:58 +0200
commit325253a6b2de4bdfa9ef0e28b5df8a4a4fe2b677 (patch)
treea9fff6fda2ac9f36b494779e76e66222ce540b28 /drivers/uio
parentbacklight: switch to da903x driver to dev_pm_ops (diff)
downloadlinux-325253a6b2de4bdfa9ef0e28b5df8a4a4fe2b677.tar.xz
linux-325253a6b2de4bdfa9ef0e28b5df8a4a4fe2b677.zip
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/uio')
0 files changed, 0 insertions, 0 deletions