regulator: Convert pcap-regulator to set_voltage_sel
authorAxel Lin <axel.lin@gmail.com>
Fri, 23 Mar 2012 08:49:22 +0000 (16:49 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 1 Apr 2012 10:59:28 +0000 (11:59 +0100)
commitd5ec96357d743288bd03a685defd586ad35d351e
treed30cec9d5ce3f5ab9d3d44e9e67c1c82cddf11ee
parent24c896f5482d864f526ce3d085eb90298b82c49f
regulator: Convert pcap-regulator to set_voltage_sel

After converting to set_voltage_sel, we can remove the workaroud of getting
the best match voltage for V1. The core will iterate through the whole voltage
table and find the best match for us.

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