regulator: tps6586x: Convert to regulator_list_voltage_table
authorAxel Lin <axel.lin@gmail.com>
Tue, 5 Jun 2012 14:52:06 +0000 (22:52 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 7 Jun 2012 23:52:59 +0000 (07:52 +0800)
commitf46470379342033bdd9f740ce483c96f5c20eab2
tree0da7e4402290d4fc24f18ba116639a57b4e38bd2
parentc49af95631a46e8a2664ae2067c900905c39f2b2
regulator: tps6586x: Convert to regulator_list_voltage_table

Also adds tps6586x_ldo0_voltages mapping table for LDO0, so we can remove the
hack in tps6586x_list_voltage() and convert it to regulator_list_voltage_table.

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