backlight: extend event support to also support poll()
commit6ead680ba92bcd23f230be0d4cc306fcf908b91c
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sat, 14 Nov 2009 02:52:29 +0000 (14 00:52 -0200)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sat, 14 Nov 2009 02:52:29 +0000 (14 00:52 -0200)
tree86660e56dccd8181ffc92aa12d4140440e298d27
parent4692069f998b1c05b529a59cbafcf650c58c60a2
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