pass regulators_info parameter to read_info_from_dirent
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 <e9fa45941f2ebe89c1b9d6c5f339ab42eadb8567@free.fr>
Signed-off-by: Amit Kucheria <f352f8f7e4567da77f569289775ad284524dea88@linaro.org>

gromaudio/android_external_powerdebug,yinquan529/platform-external-powerdebug,gromaudio/android_external_powerdebug,yinquan529/platform-external-powerdebug