]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite4387f3a5e69ad8905a49ccbb1508808ce6f7aa4
tree44828b76f9037f575b8b7d52588c7a26c93c8a5b
parentef7dab2187612b6c8363484eca13548b4bd3379c
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