regulator: Convert ab8500 to set_voltage_sel
authorAxel Lin <axel.lin@gmail.com>
Tue, 20 Mar 2012 01:51:08 +0000 (09:51 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 1 Apr 2012 10:59:23 +0000 (11:59 +0100)
commitae713d394d9e2aacaab620acd3212855f1f06b00
tree5f1163a26f3011fa46629bc73b1424feb5ab2936
parent8300d2fde4622ae9ac5d09054dddddddc53b27e7
regulator: Convert ab8500 to set_voltage_sel

Convert ab8500 to set_voltage_sel and then we can remove
ab8500_get_best_voltage_index function.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Tested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/ab8500.c