]> git.ipfire.org Git - people/ms/u-boot.git/commit - drivers/power/regulator/pwm_regulator.c
power: pwm_regulator: remove redundant code
authorKever Yang <kever.yang@rock-chips.com>
Wed, 19 Jul 2017 11:54:22 +0000 (19:54 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Thu, 27 Jul 2017 12:59:01 +0000 (14:59 +0200)
commit3030c951f19bf69fd12fe700d33c4be3ad2ee734
tree80e91cc15c4cbbd5651360f3eac023be16b317f5
parentf339bca248f8060258c8e53fd9388dc6ca689af3
power: pwm_regulator: remove redundant code

The regulator_enable() should be called from upper layer like
regulators_enable_boot_on(), remove it from pwm regulator driver.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
[fixed up typo in commit message:]
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
drivers/power/regulator/pwm_regulator.c