regulator: tps65217: Convert to set_voltage_sel and map_voltage
authorAxel Lin <axel.lin@gmail.com>
Tue, 15 May 2012 07:17:58 +0000 (15:17 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 18 May 2012 07:38:32 +0000 (08:38 +0100)
commit8b22285fd710976b2a1c6f625ca64dfbfe25ba2b
tree44828b76f9037f575b8b7d52588c7a26c93c8a5b
parent3a8334b94850b08728237235df94a69c6ea9f6e7
regulator: tps65217: Convert to set_voltage_sel and map_voltage

Convert tps65217_pmic_ops to use set_voltage_sel and map_voltage.
After this convertion, we can also use tps65217_pmic_set_voltage_sel()
for set_voltage_sel callback of tps65217_pmic_ldo1_ops.
Thus this patch also removes tps65217_pmic_ldo1_set_voltage_sel() function.

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