diff options
author | Axel Lin <[email protected]> | 2012-12-10 19:46:52 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2012-12-24 16:26:50 +0000 |
commit | f38482fa700f18b72afbbaef8c4c4769c68c88ce (patch) | |
tree | 8b77d00a3bd16ef6ae238ecd0d07bcdceed46b16 /tools/perf/scripts/python/check-perf-trace.py | |
parent | a49f0d1ea3ec94fc7cf33a7c36a16343b74bd565 (diff) |
regulator: lp3971: Convert to get_voltage_sel
regulator_list_voltage_table() returns -EINVAL if selector >= n_voltages.
Thus we don't need to check if reg is greater than BUCK_TARGET_VOL_MAX_IDX in
lp3971_dcdc_get_voltage_sel.
BUCK_TARGET_VOL_MIN_IDX and BUCK_TARGET_VOL_MAX_IDX are not used, remove them.
Signed-off-by: Axel Lin <[email protected]>
Acked-by: Marek Szyprowski <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions