pass numregulators parameter to regulator_print_info

The regulator_print_info does no longer rely on the numregulators global
variable.

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