regulator: Use tps65912_get_voltage for both DCDCs and LDOs
authorAxel Lin <axel.lin@gmail.com>
Thu, 15 Mar 2012 09:18:35 +0000 (17:18 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 1 Apr 2012 10:59:25 +0000 (11:59 +0100)
commit33426e97968113d5421acc82b494d8a035ca4331
treed6f9fa008fcc723a3686b0f3f04e1f055a86cbe7
parentf72d643e87581cbee49f39c1fd8268b1a9252b80
regulator: Use tps65912_get_voltage for both DCDCs and LDOs

Now tps65912_get_voltage_dcdc and tps65912_get_voltage_ldo has exactly the same
implementation. We can merge them to tps65912_get_voltage function.

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