]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd91c50ec559eea8f78f6af7e8ab5b8ed6239b758
treec8a5cc4709e25d459c0ce8a68c6beebaefc20507
parentcef333d8966601fac4e97ca50f160a20262b7d63
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