regulator: tps6524x: Fix get_voltage_sel for fixed voltage
authorAxel Lin <axel.lin@gmail.com>
Thu, 14 Jun 2012 08:00:53 +0000 (16:00 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 20 Jun 2012 10:20:24 +0000 (11:20 +0100)
commit8386a00f1443f676e8b614f654e2e324fdc0b3b3
tree5b94fa5a9b2dba0fe1331f68d21bf5286864441a
parent6b57c0155cb78d15b0d93b2c7f66ad9536862476
regulator: tps6524x: Fix get_voltage_sel for fixed voltage

get_voltage_sel() should return selector rather than voltage.

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