Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967295AbdDTI3S (ORCPT ); Thu, 20 Apr 2017 04:29:18 -0400 Received: from mout.web.de ([212.227.15.14]:62948 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030599AbdDTI2u (ORCPT ); Thu, 20 Apr 2017 04:28:50 -0400 Subject: [PATCH 5/8] clk: Combine two seq_puts() calls into one call in clk_summary_show() From: SF Markus Elfring To: linux-clk@vger.kernel.org, Michael Turquette , Stephen Boyd Cc: LKML , kernel-janitors@vger.kernel.org References: <94b24eaa-c5fb-80ea-441a-883989d14ef5@users.sourceforge.net> Message-ID: <2e58deaf-4279-df4e-5678-df459791708c@users.sourceforge.net> Date: Thu, 20 Apr 2017 10:28:42 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 In-Reply-To: <94b24eaa-c5fb-80ea-441a-883989d14ef5@users.sourceforge.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:w6rBg9A0OwS1afI3ZfCOViqFgOK/vbFYFAO0XYg3aMPnxllF6Qy EqBQA0Q3lhIMIh6KQ3JJ9TRYTxDrpJFU1qZfWOfmUsZKUHNDUMsNp3Y1HD4jRppV2JzKOFi ZmEmvnOgOjngiKOr+QPTcAhZNVFtO5t92Hjk2VxLQueW3WiZrIv0sUP8jVnN2jvC+vn7/FV 9ZgRGfMaHHMtk17x1xuUg== X-UI-Out-Filterresults: notjunk:1;V01:K0:ZijcefHPqLE=:BdkFBiZWjxSj7oopLb5FmB ST6EdCVFCaKUtUx/OCe8kkNgGvqxLW0qgEMvuLFaErgNn+kqCmRvChvdBvr796i2JO6GTvNzV 6gMhtUwrjNBvh8fbPnRGhAUbEGLQEDFjE/zxMC8oG4e8Pmf/puKSGnqeTWtTlcKGi93DPBOS1 /fYTyso27/O4lmz4Ke/7jIsONPQMUG6a0t61nED/5pG8OGIHgByOOumAzpYq0JQ/5wEBLGQh1 6ow5VjkPiwXNQImE8KWOC8kXO8dbdFCTPhkd0NyIj8fuAIGPHPUnB1/l5kObwtlwI3lI9PW4e 0iNjVZwxqRs1KBOk50ih8+NBzKI0hU9xrsdqd1EEslhVzFpYTrRe/cg7OcpwtodyfrYvAF+hX Cw0QBhGGXrKhX/r+Wmol6UKbudwBQchFSL9NhginL5X1+Y4g7enq0tywobzydDR1aTCiCNnu5 0hXYtNQE8EO3lkE+7J6h7k3HUF5EP3cvx/AFoC9GHhUX193HHo6mLq5lwghlzFJHKvHYW6eLP 5hBHdiujJJAUVbV6KAovt7jsrKRWdenB4YAn1INQb36Wc7NhZsNROlZpFuVTq3CPxkdmvRqp7 J/rVB1SWwssP2u18ebGeAGeR/YiOugLOj9W8mfSGFnTDEYaUJuiHe/mDV6MqZmaTh04N3a0lg MfRajgx9bG+G04wGTN913505xYh0JDfmtK5nlBwTJuWdL1RVEQJ0taS0SJ9SpqM2PemyU0hGj vnsgCnoc36OlGc7JsbZqCwjxOza7dUxJ9PD7yN/d4b6PuYPmYcOy0vAuBSqS28eM/wVV97lt+ sDYIOSW Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1158 Lines: 30 From: Markus Elfring Date: Thu, 20 Apr 2017 09:12:35 +0200 Some text was put into a sequence by two separate function calls. Print the same data by a single function call instead. Signed-off-by: Markus Elfring --- drivers/clk/clk.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index 4c72a10a9a33..684642ab4212 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@ -2030,9 +2030,9 @@ static int clk_summary_show(struct seq_file *s, void *data) struct clk_core *c; struct hlist_head **lists = (struct hlist_head **)s->private; - seq_puts(s, " clock enable_cnt prepare_cnt rate accuracy phase\n"); - seq_puts(s, "----------------------------------------------------------------------------------------\n"); - + seq_puts(s, + " clock enable_cnt prepare_cnt rate accuracy phase\n" + "----------------------------------------------------------------------------------------\n"); clk_prepare_lock(); for (; *lists; lists++) -- 2.12.2