]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: rt5033: Use linear ranges to map all voltage selection
authorChiYuan Huang <cy_huang@richtek.com>
Tue, 6 Jul 2021 06:45:39 +0000 (14:45 +0800)
committerMark Brown <broonie@kernel.org>
Sun, 11 Jul 2021 22:50:39 +0000 (23:50 +0100)
commit2e74003eb964855fd5840216efaf4bb2192af738
treec3eef9f2e5a12a13aea32b864e15560cb94dcd93
parent14acf800e0b3a7b1c7667169e21e43bb1e8863b8
regulator: rt5033: Use linear ranges to map all voltage selection

Instead of linear mapping, Use linear range to map all voltage selection.

Signed-off-by: ChiYuan Huang <cy_huang@richtek.com>
Reviewed-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/1625553939-9109-1-git-send-email-u0084500@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/rt5033-regulator.c
include/linux/mfd/rt5033-private.h