[PATCH v6 2/6] regulator: core: factor out delay function from _regulator_do_enable

2014-08-18 Thread Guodong Xu
A common delay function can be helpful when implementing new features. Factor it out to maximize code reusability. Signed-off-by: Guodong Xu --- drivers/regulator/core.c | 74 ++-- 1 file changed, 40 insertions(+), 34 deletions(-) diff --git

[PATCH v6 2/6] regulator: core: factor out delay function from _regulator_do_enable

2014-08-18 Thread Guodong Xu
A common delay function can be helpful when implementing new features. Factor it out to maximize code reusability. Signed-off-by: Guodong Xu guodong...@linaro.org --- drivers/regulator/core.c | 74 ++-- 1 file changed, 40 insertions(+), 34 deletions(-)