backlight: extend event support to also support poll()
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 20 Sep 2009 17:44:47 +0000 (14:44 -0300)
committerRichard Purdie <rpurdie@linux.intel.com>
Sat, 26 Sep 2009 15:48:06 +0000 (16:48 +0100)
commit89dfc28ccbff6521a4df9dc3699a94bbde11a6ed
tree745fdfba71be343ba9c443cd65c1c757dbeaf53a
parentd822d5c273683dc4bacd413953b11ad31513e997
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>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
drivers/video/backlight/backlight.c