@@ -567,7 +567,7 @@ out:
return ret;
}
-void read_and_dump_clock_info_one(char *clk, bool dump)
+void read_and_dump_clock_info_one(char *clk)
{
printf("\nParents for \"%s\" Clock :\n\n", clk);
read_clock_info(clk_dir_path);
@@ -313,8 +313,7 @@ static int powerdebug_dump(struct powerdebug_options *options,
if (options->clocks) {
if (options->clkname)
- read_and_dump_clock_info_one(options->clkname,
- options->dump);
+ read_and_dump_clock_info_one(options->clkname);
else
read_and_dump_clock_info(options->verbose);
}
@@ -29,7 +29,7 @@ enum {CLOCK, REGULATOR, SENSOR};
enum {CLOCK_SELECTED = 1, REFRESH_WINDOW};
extern void read_and_dump_clock_info(int verbose);
-extern void read_and_dump_clock_info_one(char *clk, bool dump);
+extern void read_and_dump_clock_info_one(char *clk);
extern int read_clock_info(char *clkpath);
extern void find_parents_for_clock(char *clkname, int complete);
extern int read_and_print_clock_info(int verbose, int hrow, int selected);
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> --- clocks.c | 2 +- powerdebug.c | 3 +-- powerdebug.h | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-)