regulator: core.c Only delay when setting voltage requires this
authorPhilip Rakity <prakity@marvell.com>
Thu, 14 Jun 2012 22:07:56 +0000 (15:07 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 17 Jun 2012 19:50:26 +0000 (20:50 +0100)
commit8b96de31b0cf190fb6b21c4ab1ce310c430b72ae
treed767e858ef463e18e24f158b91223e0d9cdb7f1c
parent2f7baf89d3e4ed787989168cf31f2fdc04067586
regulator: core.c Only delay when setting voltage requires this

minor optimization: move delay code to where delay is set and
thus where it is used vs in the main line path.

Signed-off-by: Philip Rakity <prakity@marvell.com>
Acked-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/core.c