regulator: lp8788: Implement list_voltage for lp8788_ldo_voltage_fixed_ops
authorAxel Lin <axel.lin@ingics.com>
Mon, 1 Apr 2013 15:28:48 +0000 (23:28 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 3 Apr 2013 17:46:29 +0000 (18:46 +0100)
For fixed voltage, we can just set min_uV and use regulator_list_voltage_linear
for list_voltage callback. Regulator core will call list_voltage(rdev, 0) if
both get_voltage get_voltage_sel are not implemented. Thus we can also remove
lp8788_ldo_fixed_get_voltage() function.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Milo Kim <milo.kim@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

No differences found