commit | e3baacf54275647a018ee35bff3bc775a8a2a01a | [log] [tgz] |
---|---|---|
author | Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> | Mon Mar 29 15:57:33 2021 +0300 |
committer | Mark Brown <broonie@kernel.org> | Fri Apr 02 18:33:58 2021 +0100 |
tree | 98bfaf2245d165120e1dd8979a3ac904e2384e0d | |
parent | 0d02ec6b3136c73c09e7859f0d0e4e2c4c07b49b [diff] |
regulator: helpers: Export helper voltage listing Some drivers need to translate voltage values to selectors prior regulator registration. Currently a regulator_desc based list_voltages helper is only exported for regulators using the linear_ranges. Export similar helper also for regulators using simple linear mapping. Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> Link: https://lore.kernel.org/r/1200ef7a50c84327ada019b85f6527b4fc9b5ce1.1617020713.git.matti.vaittinen@fi.rohmeurope.com Signed-off-by: Mark Brown <broonie@kernel.org>