aboutsummaryrefslogtreecommitdiff
path: root/powerdebug.c
diff options
context:
space:
mode:
Diffstat (limited to 'powerdebug.c')
-rw-r--r--powerdebug.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/powerdebug.c b/powerdebug.c
index f71a9df..71c37f2 100644
--- a/powerdebug.c
+++ b/powerdebug.c
@@ -310,13 +310,8 @@ static int powerdebug_dump(struct powerdebug_options *options,
regulator_print_info(reg_info, nr_reg, options->verbose);
}
- if (options->clocks) {
-
- if (options->clkname)
- read_and_dump_clock_info_one(options->clkname);
- else
- read_and_dump_clock_info(options->verbose);
- }
+ if (options->clocks)
+ read_and_dump_clock_info(options->clkname);
if (options->sensors)
read_and_print_sensor_info(options->verbose);