]> git.dujemihanovic.xyz Git - u-boot.git/commit
regulator: Factor out common enable code
authorSven Schwermer <sven@svenschwermer.de>
Mon, 24 Jun 2019 11:03:33 +0000 (13:03 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 18 Jul 2019 15:31:24 +0000 (11:31 -0400)
commit2f7a5f2682edc99daee1fa1d7dadd4b9f09e7b59
tree4bb451920c945448a68b3a8013c585d7226c9dd8
parent0c1456d571e77000a98cdf5009fad6277426aa75
regulator: Factor out common enable code

In preparation of being able to enable/disable GPIO regulators, the
code that will be shared among the two kinds to regulators is factored
out into its own source files.

Signed-off-by: Sven Schwermer <sven@svenschwermer.de>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
drivers/power/regulator/Kconfig
drivers/power/regulator/Makefile
drivers/power/regulator/fixed.c
drivers/power/regulator/regulator_common.c [new file with mode: 0644]
drivers/power/regulator/regulator_common.h [new file with mode: 0644]