diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2015-10-20 14:37:27 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-10-20 15:43:53 +0100 |
commit | a204f41e2d670c07c4dbd382d5bd8f6db8347ac2 (patch) | |
tree | 9f3ea6b39c92184c7c098ce43ff04c0597eb95f5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a9f226bcd9bb1941e581806e83d2c03d4043c367 (diff) |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions