commit | 97c38437115aa0c3fb2d50c488814b503ba529e0 | [log] [tgz] |
---|---|---|
author | Thierry Reding <treding@nvidia.com> | Wed Oct 02 18:01:02 2013 +0200 |
committer | Thierry Reding <thierry.reding@gmail.com> | Wed Oct 16 09:05:57 2013 +0200 |
tree | f7afc5b092a60ff9e7b7973f15ee9b550e9ab659 | |
parent | 62b744a87c1170b339f993aa3cfb22465974816a [diff] |
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>