From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753961AbbEAOuU (ORCPT ); Fri, 1 May 2015 10:50:20 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:60543 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753623AbbEAOuQ (ORCPT ); Fri, 1 May 2015 10:50:16 -0400 From: Felipe Balbi To: Stephen Boyd CC: Stefan Wahren , Mike Turquette , Linux Kernel Mailing List , Felipe Balbi Subject: [PATCH] clk: add newline character after dumping all clocks Date: Fri, 1 May 2015 09:48:37 -0500 Message-ID: <1430491717-21123-1-git-send-email-balbi@ti.com> X-Mailer: git-send-email 2.4.0.rc3 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 459ce9da13e0..c2de94238e75 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@ -276,7 +276,7 @@ static int clk_dump(struct seq_file *s, void *data) clk_prepare_unlock(); - seq_printf(s, "}"); + seq_printf(s, "}\n"); return 0; } -- 2.4.0.rc3