regulator: Fix s5m8767_set_voltage_time_sel calculation value
authorSangbeom Kim <sbkim73@samsung.com>
Fri, 9 Mar 2012 07:28:10 +0000 (16:28 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 11 Mar 2012 20:49:29 +0000 (20:49 +0000)
commit0f8b9c774442fa0ada36e5a0de9567588cc964cd
tree10f7d17beaead940c609e1a00649672157b7abff
parent394ee3d5bea96b6dd29ec42a797d1ee4c2af5f1d
regulator: Fix s5m8767_set_voltage_time_sel calculation value

In the s5m8767_set_voltage_time_sel function, divisor unit is wrong.
ramp_delay is usec unit. So 1000 should be multiplied.

Signed-off-by: Sangbeom Kim <sbkim73@samsung.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/s5m8767.c