regulator: s2mps11: Implement set_ramp_rate callback for bucks
authorYadwinder Singh Brar <yadi.brar@samsung.com>
Sat, 29 Jun 2013 12:51:16 +0000 (18:21 +0530)
committerMark Brown <broonie@linaro.org>
Mon, 15 Jul 2013 17:31:12 +0000 (18:31 +0100)
commit939c02777a27ea7915764ecca5263dbb60c664f3
tree4df08e2c4e78e0f2afc3d08c6498fffb39751984
parent92d8ecae7eda0820663933e568915dbf7ef79127
regulator: s2mps11: Implement set_ramp_rate callback for bucks

Implementing set_ramp_rate() and using standard constraints for getting
ramp_delay and ramp_disable, instead of getting it as s2mps11 specific data
through platform data, makes driver more compliant with framework and reduces
the complexity for adding DT support.

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