Merge tag 'linear-ranges-lib' of https://git.kernel.org/pub/scm/linux/kernel/git...
authorMark Brown <broonie@kernel.org>
Fri, 8 May 2020 17:20:51 +0000 (18:20 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 8 May 2020 17:20:51 +0000 (18:20 +0100)
commitc50ad6dbf6cc1d1671a3cd5618b3a52c495b78ca
treedddb8875cc95ce42f31032b3271263ea5a7640df
parentaab5fd7a1b7b931487694b527322f48f423701c7
parent60ab7f4153b6af461c90d572c31104086b44639f
Merge tag 'linear-ranges-lib' of https://git./linux/kernel/git/broonie/regulator into regulator-5.8

lib: Add linear ranges helper library and start using it

Series extracts a "linear ranges" helper out of the regulator
framework. Linear ranges helper is intended to help converting
real-world values to register values when conversion is linear. I
suspect this is useful also for power subsystem and possibly for clk.
drivers/regulator/Kconfig
drivers/regulator/bd718x7-regulator.c
drivers/regulator/qcom_rpm-regulator.c