clk: add newline character after dumping all clocks
authorFelipe Balbi <balbi@ti.com>
Fri, 1 May 2015 14:48:37 +0000 (09:48 -0500)
committerStephen Boyd <sboyd@codeaurora.org>
Thu, 7 May 2015 18:32:37 +0000 (11:32 -0700)
clk_dump() will dump data about all clocks in JSON
format, but it misses a newline character at the
end of the JSON string. This patch adds that missing
newline character.

Signed-off-by: Felipe Balbi <balbi@ti.com>
[sboyd@codeaurora.org: Squelch checkpatch with seq_puts()]
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk.c

index ea7e869..4a2e947 100644 (file)
@@ -1998,7 +1998,7 @@ static int clk_dump(struct seq_file *s, void *data)
 
        clk_prepare_unlock();
 
-       seq_printf(s, "}");
+       seq_puts(s, "}\n");
        return 0;
 }