From patchwork Thu Apr 20 08:28:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SF Markus Elfring X-Patchwork-Id: 9689873 X-Patchwork-Delegate: sboyd@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 78CEF600C8 for ; Thu, 20 Apr 2017 08:29:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 68E76223B2 for ; Thu, 20 Apr 2017 08:29:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5DD8C28459; Thu, 20 Apr 2017 08:29:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1B61E223B2 for ; Thu, 20 Apr 2017 08:29:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966607AbdDTI3R (ORCPT ); Thu, 20 Apr 2017 04:29:17 -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 Received: from [192.168.1.2] ([77.182.247.81]) by smtp.web.de (mrweb001 [213.165.67.108]) with ESMTPSA (Nemesis) id 0M5woT-1c43e937ij-00xpFf; Thu, 20 Apr 2017 10:28:44 +0200 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-Language: en-GB 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-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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++)