]> git.karo-electronics.de Git - linux-beck.git/commit
regulator: pwm: Drop unneeded pwm_enable() call
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Fri, 3 Jun 2016 08:23:00 +0000 (10:23 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 3 Jun 2016 10:42:48 +0000 (11:42 +0100)
commit830583004e615a4637eacc77866b84908414d7a0
tree4f687ba04f22cf4e0b5b0bc22cf329b2a251d3f7
parent1a695a905c18548062509178b98bc91e67510864
regulator: pwm: Drop unneeded pwm_enable() call

Now that the PWM regulator driver implements the ->enable/disable() hooks
we can remove the pwm_enable() call from pwm_regulator_set_voltage().

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/pwm-regulator.c