regulator: Fix setting new voltage in s5m8767_set_voltage
authorAxel Lin <axel.lin@gmail.com>
Mon, 19 Mar 2012 04:22:10 +0000 (12:22 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 31 Mar 2012 10:26:19 +0000 (11:26 +0100)
Current code does not really update the register with new value, fix it.
I rename the variable i to sel for better readability.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Sangbeom Kim <sbkim73@samsung.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

No differences found