Age | Commit message (Collapse) | Author |
|
With this patch the content of the debugfs file is readen only when the
'refresh' button is hit and at the init of powerdebug.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
Make some cleanup around the headers.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
Let's create some ops to be registered by the pm blocks to the display.
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>
|
|
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>
|
|
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 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>
|
|
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>
|
|
All the files found in the /sys/class/regulator directory should
be regulators. Don't assume their name begin with 'regulator'.
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>
|
|
According to https://wiki.linaro.org/Copyright, all work done by assignees is
copyrighted to Linaro.
|
|
Get rid of blank lines, add spaces around operators, etc.
|
|
|
|
|