regulator: s2mps11: Implement set_voltage_time_sel() ops for bucks
authorYadwinder Singh Brar <yadi.brar@samsung.com>
Mon, 24 Jun 2013 11:20:56 +0000 (16:50 +0530)
committerMark Brown <broonie@linaro.org>
Mon, 15 Jul 2013 10:28:25 +0000 (11:28 +0100)
commit1e1598ed04d831f5bb42a197b4045e6780365217
tree9463fea126c28024e09c6c5af276f254fb3a13df
parentad81f0545ef01ea651886dddac4bef6cec930092
regulator: s2mps11: Implement set_voltage_time_sel() ops for bucks

Currently driver uses local struct s2mps11_info to store ramp rate for bucks
whic its getting through platform data, so instead of using regulator
constraints it should use s2mps11_info to calculate ramp delay.

Signed-off-by: Yadwinder Singh Brar <yadi.brar@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/s2mps11.c