commit | 2e3f7f26e1323fb302921c4575a499710636d531 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Sun Jun 03 22:46:14 2012 +0800 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Sun Jun 03 20:11:09 2012 +0100 |
tree | b0c79916e9eda99cc162cd379e80651af9c63ff9 | |
parent | fcbb71f6f8084b74fef54e40c9e515105ccc4e6e [diff] |
regulator: max77686: Use regulator_map_voltage_linear for simple linear mappings Both max77686_ops and max77686_buck_dvs_ops use simple linear voltage maps. Thus use regulator_map_voltage_linear is more efficient than using the defult regulator_map_voltage_iterate. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>