Age | Commit message (Collapse) | Author |
|
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
Make some cleanup around the headers.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
Make the code consistent with the clocks and use the tree to
build the regulators.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
Reduce the scope of the numregulators to powerdebug.c
Signed-off-by: Daniel Lezcano <daniel.lezcano@free.fr>
Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
|
|
The regulator_read_info does no longer depend no the global variable
numregulators.
Signed-off-by: Daniel Lezcano <daniel.lezcano@free.fr>
Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
|
|
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>
|
|
As no function rely on the global variable regulators_info, let's make it
static and reduce the scope to powerdebug.c
Signed-off-by: Daniel Lezcano <daniel.lezcano@free.fr>
Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
|
|
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>
|
|
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>
|
|
The objective is to make the regulators_info variable local to the main
function. This first patch pass the regulators_info variable to the function
instead of having this one relying on a global variable definition.
Signed-off-by: Daniel Lezcano <daniel.lezcano@free.fr>
Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
|
|
Move the corresponding functions to the right header file and
rename the function with <subsystem>_function_name.
Signed-off-by: Daniel Lezcano <daniel.lezcano@free.fr>
Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
|
|
Move the corresponding function to the right header file and
rename the function with <subsystem>_function_name.
Signed-off-by: Daniel Lezcano <daniel.lezcano@free.fr>
Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
|
|
sizeof(int) : 4
sizeof(bool): 1
Signed-off-by: Daniel Lezcano <daniel.lezcano@free.fr>
Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
|
|
According to https://wiki.linaro.org/Copyright, all work done by assignees is
copyrighted to Linaro.
|
|
|
|
|
|
|