]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: core: Use map_voltage_linear_range by default for list_voltage_linear_range
authorAxel Lin <axel.lin@ingics.com>
Sat, 24 May 2014 03:10:43 +0000 (11:10 +0800)
committerMark Brown <broonie@linaro.org>
Mon, 26 May 2014 13:36:55 +0000 (14:36 +0100)
commit1ffb9ffb2a455e2e0c24dc6deb2c836eaeb93b7c
tree4e328756fb2e6220c8f4c1f91caebd543579e475
parent5ea394295b4ee866199d246472c74e3bbbd89b38
regulator: core: Use map_voltage_linear_range by default for list_voltage_linear_range

Use map_voltage_linear_range() if list_voltage_linear_range() is in use and
nothing is set.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/core.c