backlight: add a callback 'notify_after' for backlight control
authorDilan Lee <dilee@nvidia.com>
Thu, 25 Aug 2011 22:59:17 +0000 (15:59 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 25 Aug 2011 23:25:34 +0000 (16:25 -0700)
commitcc7993f6439b49909a8792660c4d0741fec9d584
tree036093bfb2d5606c05fda6e08a433867e138ee21
parent23751be0094012eb6b4756fa80ca54b3eb83069f
backlight: add a callback 'notify_after' for backlight control

We need a callback to do some things after pwm_enable, pwm_disable
and pwm_config.

Signed-off-by: Dilan Lee <dilee@nvidia.com>
Reviewed-by: Robert Morell <rmorell@nvidia.com>
Reviewed-by: Arun Murthy <arun.murthy@stericsson.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/backlight/pwm_bl.c
include/linux/pwm_backlight.h