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)
commit366986274c548261c42d5ca24391cb4eef3008c2
tree4e328756fb2e6220c8f4c1f91caebd543579e475
parent9f8c0fe9542141fd0008d5c0f6ae365890f6da94
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