summaryrefslogtreecommitdiffstats
path: root/drivers/clk/clk.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2015-05-01 16:48:37 +0200
committerStephen Boyd <sboyd@codeaurora.org>2015-05-07 20:32:37 +0200
commit70e9f4dde00182600989ca57f08d51be12f1523f (patch)
tree36dde3551df238c22765acff760c366e742b4995 /drivers/clk/clk.c
parentclk: s3c2410: Constify platform_device_id (diff)
downloadlinux-70e9f4dde00182600989ca57f08d51be12f1523f.tar.xz
linux-70e9f4dde00182600989ca57f08d51be12f1523f.zip
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>
Diffstat (limited to '')
-rw-r--r--drivers/clk/clk.c2
1 files changed, 1 insertions, 1 deletions
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;
}