regulator: twl: Convert twl4030ldo_ops to get_voltage_sel
authorAxel Lin <axel.lin@ingics.com>
Sat, 16 Feb 2013 02:09:54 +0000 (10:09 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 1 Mar 2013 08:03:49 +0000 (16:03 +0800)
This fixes an inconsistent behavior between list_voltage() and get_voltage()
because current implementation of get_voltage() does not check the case
IS_UNSUP() is true.

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

Simple merge