regulator: core: factor out delay function from _regulator_do_enable
authorGuodong Xu <guodong.xu@linaro.org>
Wed, 13 Aug 2014 11:33:39 +0000 (19:33 +0800)
committerMark Brown <broonie@linaro.org>
Sat, 16 Aug 2014 21:55:42 +0000 (16:55 -0500)
commit79fd114161a764dfa456191af89358b3f5201c87
treea9e16d36afbf25ffa2c5d05648ee92bee982d127
parent272e2315fac3bfca0edfa3252b8a643c425602af
regulator: core: factor out delay function from _regulator_do_enable

A common delay function can be helpful when implementing new features. Factor
it out to maximize code reusability.

Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/core.c