backlight: extend event support to also support poll()
commit70f802f0ca21fc3d3c60da5575ca218df1ae10c8
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sat, 14 Nov 2009 02:56:36 +0000 (14 00:56 -0200)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sat, 14 Nov 2009 02:56:36 +0000 (14 00:56 -0200)
tree95c984128a4eeb8005adf7837689e13c6d36f5b5
parentf95e6f9515d38ceacb0d848e993f92c1bfb57fa7
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