pass regulators_info parameter to regulator_read_info

The regulator_read_info function does no longer rely on the regulators_info
global variable.

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