regulator: max8973: configure ramp delay through callback
authorLaxman Dewangan <ldewangan@nvidia.com>
Tue, 9 Jun 2015 13:47:52 +0000 (19:17 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 9 Jun 2015 17:09:10 +0000 (18:09 +0100)
commit3064c1f302d1b61dbb0e40e4ffc902edc6208517
treec8a5cc4709e25d459c0ce8a68c6beebaefc20507
parent69eb0980ab4ced06f7c2b4774575337ce32912fb
regulator: max8973: configure ramp delay through callback

Regulator core framework support the configuration of ramp
delay reading from platform specific regulator data via the
regulator callback ops.

Instead of reading regulator init data on driver and setting
ramp delay, use the callback to achieve this.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/max8973-regulator.c