pass regulators_info parameter to read_info_from_dirent

The read_info_from_dirent 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>
1 file changed