]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: extract voltage balancing code to the separate function
authorMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 29 May 2020 12:49:39 +0000 (14:49 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 29 May 2020 13:36:00 +0000 (14:36 +0100)
commit5ed6781eb7c4519fd809bf474caaee2b1efb27b4
treed397f523ed8569d6d50c2ef32e1419d729f0bdf3
parent0e6c92ce1d170795a396f8108369eb2c8412797f
regulator: extract voltage balancing code to the separate function

Move the coupled regulators voltage balancing code to the separate
function and allow to call it from the custom regulator couplers.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Link: https://lore.kernel.org/r/20200529124940.10675-2-m.szyprowski@samsung.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/core.c
include/linux/regulator/coupler.h