]> 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)
commitc2727c0ce56f3b134e506712a517ae85cff01c02
treed397f523ed8569d6d50c2ef32e1419d729f0bdf3
parent9b8057e7f937f20763a90a8fc2333168af101732
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