regulator: tps6586x: Use regulator_list_voltage_linear for dvm/ldo4/sw2
authorAxel Lin <axel.lin@ingics.com>
Wed, 4 Jun 2014 12:44:03 +0000 (20:44 +0800)
committerMark Brown <broonie@linaro.org>
Fri, 6 Jun 2014 10:16:08 +0000 (11:16 +0100)
commit2628b10070c5a934a977f20831d97778034b39af
tree9aa82559470bc12ba11ce7dda747f149909b3223
parent978371cbabb4cb7a47751049d72f06dc8348cab2
regulator: tps6586x: Use regulator_list_voltage_linear for dvm/ldo4/sw2

The voltage tables for dvm/ldo4/sw2 are actually linear mapping.
Thus convert dvm/ldo4/sw2 to use regulator_list_voltage_linear.

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