]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commitfda6e444e770af4f8e18cde7471133d94a1c5b85
tree80e91cc15c4cbbd5651360f3eac023be16b317f5
parentc6539e361aa236b661ba0aa620205a827b28916c
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