+18
−17
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
_regulator_call_set_voltage has code to translate a minimum/maximum voltage pair into a selector. This code is useful for others aswell, so create a regulator_map_voltage function. Signed-off-by:Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by:
Mark Brown <broonie@kernel.org>