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 ea7e8695a32bea3aa2bacf258f106a9eb226631f..4a2e9478edbd1b1105693c7f6ffc1789c3c62c0d 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;
 }