diff options
author | 2015-10-20 14:37:27 +0200 | |
---|---|---|
committer | 2015-10-20 15:43:53 +0100 | |
commit | a204f41e2d670c07c4dbd382d5bd8f6db8347ac2 (patch) | |
tree | 9f3ea6b39c92184c7c098ce43ff04c0597eb95f5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | regulator: core: create unlocked version of regulator_set_voltage (diff) | |
download | wireguard-linux-a204f41e2d670c07c4dbd382d5bd8f6db8347ac2.tar.xz wireguard-linux-a204f41e2d670c07c4dbd382d5bd8f6db8347ac2.zip |
regulator: core: Factor out regulator_map_voltage
_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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions