From cc6328412c3ba40c324f531fa5648d08573db110 Mon Sep 17 00:00:00 2001 From: Patrick Delaunay Date: Thu, 30 Jul 2020 14:04:09 +0200 Subject: [PATCH] cmd: clk: cosmetic: correct code alignment in show_clks Correct code alignment in show_clks() function. Signed-off-by: Patrick Delaunay Reviewed-by: Simon Glass --- cmd/clk.c | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/cmd/clk.c b/cmd/clk.c index 439736d072..ba4540334a 100644 --- a/cmd/clk.c +++ b/cmd/clk.c @@ -25,24 +25,24 @@ static void show_clks(struct udevice *dev, int depth, int last_flag) if (device_get_uclass_id(dev) == UCLASS_CLK && clkp) { rate = clk_get_rate(clkp); - printf(" %-12u %8d ", rate, clkp->enable_count); - - for (i = depth; i >= 0; i--) { - is_last = (last_flag >> i) & 1; - if (i) { - if (is_last) - printf(" "); - else - printf("| "); - } else { - if (is_last) - printf("`-- "); - else - printf("|-- "); + printf(" %-12u %8d ", rate, clkp->enable_count); + + for (i = depth; i >= 0; i--) { + is_last = (last_flag >> i) & 1; + if (i) { + if (is_last) + printf(" "); + else + printf("| "); + } else { + if (is_last) + printf("`-- "); + else + printf("|-- "); + } } - } - printf("%s\n", dev->name); + printf("%s\n", dev->name); } list_for_each_entry(child, &dev->child_head, sibling_node) { -- 2.39.5