UPSTREAM: 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)
committerHuang, Tao <huangtao@rock-chips.com>
Mon, 6 Mar 2017 10:28:40 +0000 (18:28 +0800)
commitd1b4c71db8e6247e654ab32383f7ff0dc431405f
tree47d17138e34198c585590ae083ab45562270189b
parent0cb6a1b23bd55212d64d8f89cd016f1801e8b124
UPSTREAM: 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>
(cherry picked from commit 830583004e615a4637eacc77866b84908414d7a0)

Change-Id: I89fba9a44d98ed94ede099b841b7358ba4011e35
Signed-off-by: David Wu <david.wu@rock-chips.com>
drivers/regulator/pwm-regulator.c