diff options
author | Felipe Balbi <balbi@ti.com> | 2015-05-01 09:48:37 -0500 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2015-05-07 11:32:37 -0700 |
commit | 70e9f4dde00182600989ca57f08d51be12f1523f (patch) | |
tree | 36dde3551df238c22765acff760c366e742b4995 /drivers/clk/clk.c | |
parent | d5255ec362f67586392c368fd21c8a2746e84e77 (diff) |
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 'drivers/clk/clk.c')
-rw-r--r-- | drivers/clk/clk.c | 2 |
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; } |