commit | 62b744a87c1170b339f993aa3cfb22465974816a | [log] [tgz] |
---|---|---|
author | Thierry Reding <treding@nvidia.com> | Mon Oct 07 11:32:02 2013 +0200 |
committer | Thierry Reding <thierry.reding@gmail.com> | Wed Oct 16 09:05:56 2013 +0200 |
tree | 88a702d8c151b788eab8faeb9297d058ed9a628c | |
parent | 668e63c6701d486c68b49ffffc0e5b7de1a2e95c [diff] |
pwm-backlight: Refactor backlight power on/off In preparation for adding an optional regulator and enable GPIO to the driver, split the power on and power off sequences into separate functions to reduce code duplication at the multiple call sites. Signed-off-by: Thierry Reding <treding@nvidia.com>