backlight: extend event support to also support poll()
commit3ed69d328e57688fbbc3d6dabad9035e28babb48
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Fri, 13 May 2011 12:22:18 +0000 (13 09:22 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Fri, 13 May 2011 12:22:18 +0000 (13 09:22 -0300)
tree685178478668f1ee7e7ddce0f59096c629380e35
parent171c5ee1c7c1e14a9c3b65a72227c8fea75b94fa
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