backlight: extend event support to also support poll()
commit42dd94e36467cc84a92d19c129837b79f247e85a
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Fri, 4 Dec 2009 11:13:30 +0000 (4 09:13 -0200)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Fri, 4 Dec 2009 11:13:30 +0000 (4 09:13 -0200)
treee68b055de0ffaaa5c21dd15c14608d3bcec5dc94
parentfd283cad18a83cc3b2231e6787997bb72f976e6b
backlight: extend event support to also support poll()

Extend the backlight event support to also allow the use of
poll()/select() on actual_brightness.

We already have the entire event hookup anyway, adding a single
function call in one line to get functionality like that is a really
good deal.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Matthew Garrett <mjg@redhat.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
drivers/video/backlight/backlight.c