summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-pwm.c
diff options
context:
space:
mode:
authorDan Murphy <dmurphy@ti.com>2017-11-15 20:52:13 +0100
committerJacek Anaszewski <jacek.anaszewski@gmail.com>2018-01-08 21:28:10 +0100
commitb12ef03a38b20e1bfaa163ed1632625fedd570ee (patch)
tree099ad982c09f0af33e98325f158ef3e56ec2d1a2 /drivers/leds/leds-pwm.c
parentleds: lp8860: Fix linuxdoc format for structure (diff)
downloadlinux-b12ef03a38b20e1bfaa163ed1632625fedd570ee.tar.xz
linux-b12ef03a38b20e1bfaa163ed1632625fedd570ee.zip
leds: lp8860: Add regulator enable during init
Add the regulator enable call during initialization. If init fails then disable the regulator. Also during init the gpio gets set low even on a passing case so add if everything passes then return. Signed-off-by: Dan Murphy <dmurphy@ti.com> Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Diffstat (limited to 'drivers/leds/leds-pwm.c')
0 files changed, 0 insertions, 0 deletions