regulator: s2mps11: Convert ramp rate to uV/us and set default ramp rate
authorYadwinder Singh Brar <yadi.brar@samsung.com>
Mon, 24 Jun 2013 11:20:55 +0000 (16:50 +0530)
committerMark Brown <broonie@linaro.org>
Wed, 3 Jul 2013 17:51:40 +0000 (18:51 +0100)
commit90068348b7566c83efbf1985d7853a831aabfaf4
tree356d06a65452d705c84622ec66ae35b7f79537a4
parent70083c4c8c60d9ddc188f51e0960574badc919af
regulator: s2mps11: Convert ramp rate to uV/us and set default ramp rate

This patch makes driver to use uV/us as units of ramp_delay. It makes driver
in compliance with regulator framework and make ramp rate precise.

This patch also sets default ramp rate in regulator descriptor which can be
used in case if case ramp rate is not set in regulator constraints.

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