From 70e9f4dde00182600989ca57f08d51be12f1523f Mon Sep 17 00:00:00 2001 From: Felipe Balbi Date: Fri, 1 May 2015 09:48:37 -0500 Subject: [PATCH] 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 --- drivers/clk/clk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index ea7e8695a32b..4a2e9478edbd 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; } -- 2.11.0