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)
commit62b744a87c1170b339f993aa3cfb22465974816a
tree88a702d8c151b788eab8faeb9297d058ed9a628c
parent668e63c6701d486c68b49ffffc0e5b7de1a2e95c
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>
drivers/video/backlight/pwm_bl.c
This page took 0.035549 seconds and 5 git commands to generate.