regulator: Simplify the implementation of tps65912_get_voltage_dcdc
authorAxel Lin <axel.lin@gmail.com>
Thu, 8 Mar 2012 04:07:37 +0000 (12:07 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 11 Mar 2012 20:48:55 +0000 (20:48 +0000)
commit844775ef987aaf09a1ddea668f9acd17f9548062
tree58bf93f23b6e7e01f49fe894e1ecac4bdad4876a
parent21c9e5f19ee68632d939f94a90fb33d3e6a111df
regulator: Simplify the implementation of tps65912_get_voltage_dcdc

Call tps65912_list_voltage_dcdc instead of duplicating the same code.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/tps65912-regulator.c