aboutsummaryrefslogtreecommitdiff
path: root/regulator.c
diff options
context:
space:
mode:
authorAmit Arora <amit.arora@linaro.org>2010-12-02 16:22:29 +0530
committerAmit Arora <amit.arora@linaro.org>2010-12-02 16:22:29 +0530
commit422c52fa5209e8e97d45cc3718bc3c61ddf82f88 (patch)
treee39b4784bf4068060ca38c2f0ffcf2cb42abcad4 /regulator.c
parenta06a7303746a2a014f8a8b2c8eea7271c924601b (diff)
downloadpowerdebug-422c52fa5209e8e97d45cc3718bc3c61ddf82f88.tar.gz
By default show all data in dump mode
Diffstat (limited to 'regulator.c')
-rw-r--r--regulator.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/regulator.c b/regulator.c
index 56b0b06..5936e21 100644
--- a/regulator.c
+++ b/regulator.c
@@ -54,6 +54,9 @@ void print_regulator_info(int verbose)
{
int i;
+ printf("\nRegulator Information:\n");
+ printf("*********************\n\n");
+
for (i=0; i<numregulators; i++) {
printf("Regulator %d:\n", i+1);
print_string_val("name", regulators_info[i].name);
@@ -103,6 +106,8 @@ void print_regulator_info(int verbose)
printf("Could not find regulator information!");
printf(" Looks like /sys/class/regulator is empty.\n\n");
}
+
+ printf("\n\n");
}
void read_info_from_dirent(struct dirent *ritem, char *str, int idx)