regulator: Convert mc13xxx regulator drivers to set_voltage_sel
authorAxel Lin <axel.lin@gmail.com>
Tue, 20 Mar 2012 02:46:35 +0000 (10:46 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 2 Apr 2012 22:24:46 +0000 (23:24 +0100)
commit939b62d897d80be2b4632dd81a838d29e1f5f1e3
treef64419c0e3c64139997b82bb3d02df925399b8a4
parenta4d9f179cc788b7f4b735d32c2e4a3b2562e8240
regulator: Convert mc13xxx regulator drivers to set_voltage_sel

Convert mc13892_sw_regulator_ops and mc13xxx_regulator_ops to set_voltage_sel.
mc13xxx_get_best_voltage_index function is not used now, remove it.

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