pwm-backlight: Refactor backlight power on/off
authorThierry Reding <treding@nvidia.com>
Mon, 7 Oct 2013 09:32:02 +0000 (11:32 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Wed, 16 Oct 2013 07:05:56 +0000 (09:05 +0200)
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>

No differences found