make regulator_init to return a regulators_info pointer

The regulator_init function does no longer use the global defined function.

Signed-off-by: Daniel Lezcano <daniel.lezcano@free.fr>
Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
3 files changed