Browse Source

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 <balbi@ti.com>
[sboyd@codeaurora.org: Squelch checkpatch with seq_puts()]
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Felipe Balbi 10 years ago
parent
commit
70e9f4dde0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/clk/clk.c

+ 1 - 1
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;
 }