]> Pileus Git - ~andy/linux/commit
pwm-backlight: Track enable state
authorThierry Reding <treding@nvidia.com>
Wed, 2 Oct 2013 16:01:02 +0000 (18:01 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Wed, 16 Oct 2013 07:05:57 +0000 (09:05 +0200)
commit97c38437115aa0c3fb2d50c488814b503ba529e0
treef7afc5b092a60ff9e7b7973f15ee9b550e9ab659
parent62b744a87c1170b339f993aa3cfb22465974816a
pwm-backlight: Track enable state

Follow up patches will add support for more complex means of powering
the backlight on and off such as using a regulator. To prevent calls to
the regulator API from becoming unbalanced, keep track of the enabled
state internally.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/video/backlight/pwm_bl.c