backlight: extend event support to also support poll()
commit8a7cb239a593ec81431fe215b564fdf008fcc29d
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sat, 14 Nov 2009 02:45:46 +0000 (14 00:45 -0200)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sat, 14 Nov 2009 02:45:46 +0000 (14 00:45 -0200)
tree4daa5f2c05605fa0c3cff625ed56ace3e5232465
parentf480319df9d5cf261244ab4c967dc38cdf1f36f9
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