aboutsummaryrefslogtreecommitdiff
path: root/regulator.h
AgeCommit message (Collapse)Author
2011-06-21Cleanup the headersDaniel Lezcano
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
2011-06-15cleanup the headersDaniel Lezcano
Make some cleanup around the headers. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
2011-06-15Rewrite the regulator code based on the treeDaniel Lezcano
Make the code consistent with the clocks and use the tree to build the regulators. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
2011-04-04make numregulators static in powerdebug.cDaniel Lezcano
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>
2011-04-04Pass numregulators paramter to regulator_read_infoDaniel Lezcano
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>
2011-04-04pass numregulators parameter to regulator_print_infoDaniel Lezcano
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>
2011-04-04make regulators_info static in powerdebug.cDaniel Lezcano
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>
2011-04-04pass regulators_info parameter to regulator_read_infoDaniel Lezcano
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>
2011-04-04make regulator_init to return a regulators_info pointerDaniel Lezcano
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>
2011-04-04Pass regulators_info parameter to regulator_print_infoDaniel Lezcano
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>
2011-04-04change regulator functions nameDaniel Lezcano
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>
2011-04-04change regulator init functionDaniel Lezcano
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>
2011-03-24save some bytes by using the 'bool' typeDaniel Lezcano
sizeof(int) : 4 sizeof(bool): 1 Signed-off-by: Daniel Lezcano <daniel.lezcano@free.fr> Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
2011-01-17copyright: remove IBM copyrightAmit Kucheria
According to https://wiki.linaro.org/Copyright, all work done by assignees is copyrighted to Linaro.
2010-12-05Move numregulators to regulator.hAmit Arora
2010-12-02By default show all data in dump modeAmit Arora
2010-12-02Move around code to more logical destinationAmit Arora