From: Felipe Balbi Date: Fri, 1 May 2015 14:48:37 +0000 (-0500) Subject: clk: add newline character after dumping all clocks X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=70e9f4dde00182600989ca57f08d51be12f1523f;p=linux.git clk: add newline character after dumping all clocks 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 [sboyd@codeaurora.org: Squelch checkpatch with seq_puts()] Signed-off-by: Stephen Boyd --- diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index ea7e8695a32be..4a2e9478edbd1 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@ -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; }