]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5fac82a99241ef037c2feaa0fc5540da463ffab3
treedddb8875cc95ce42f31032b3271263ea5a7640df
parentcaf6995925ba118d7519a9f97f44ea9d68f3cb2e
parentac35a13c3951bb3223f2ac16b96d0adf3e2da007
Merge tag 'linear-ranges-lib' of https://git.kernel.org/pub/scm/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