Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S969452AbdDTIa5 (ORCPT ); Thu, 20 Apr 2017 04:30:57 -0400 Received: from mout.web.de ([212.227.15.4]:62014 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S942398AbdDTIax (ORCPT ); Thu, 20 Apr 2017 04:30:53 -0400 Subject: [PATCH 7/8] clk: nomadik: Use seq_puts() in nomadik_src_clk_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: Date: Thu, 20 Apr 2017 10:30:46 +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:6dF7NuBQsgMmCxJaKtFKmG7lOcFohkTymCd3Rfdu86IYSuimX6+ /Yc3Dtch98HrZqwli51UEemB+MsbVG/3VEgSWPzTKghTXpW+3V0yNyFNlpeAr9OQLcsqcKv AqEwyrH50PkoewduJcdM8H0A/RNQdgi6zuZDUEQgv2bfuQyYUhLvQNWtoJ5T8gVwuQYCrWw hkFGAD0he0rVI3eNL5Stw== X-UI-Out-Filterresults: notjunk:1;V01:K0:My7Lmqx+9z8=:nbnOZO707YN/SKJ5woWKiA ju/z8+XN+zey9FED4WxYv7TtRnYmJ00o1ZwfEmHZyATIreCXIoYXO8eSYZfuWGWKb8X/LMgBs shfs2yUgXHyFBs2MG36RuoiA00h2iOQF1VSiJLfxphrVGqKmkFrMkFcBKjVdfERwY6JjWXpG3 piGFMTTL3zz3TKkoUBT/DkEkehEeDpxDFHDyBSO2XyGIBxs0wu/C0VnZBRc27whKKdGurgEG8 KXD/n+/u4xcngL3/ySwg5Qqdn5n3ei5kHfLXVzXE/7YN5CoZIVWfJw3m3M2/L1S0iAqCy8eV/ xwDquYPqCa+7Hoqt4Z6l6b2NGG6zy1236CcoOmxU8vBfntMRKEJ5Pmm7QcWc054BoYH0QmGSF 5xd3Brc/AyJGd0YOJSMXJ8H3YMVZ06NryJ9mt8CvCZcSLiEgPPPiQg9vIk3G2R9yL1iepGJbC 4iOw5JkHvg0+TWoU/rp1kRkZN6jIlL1yskOAIvN56cmIU8uxtRlSDNTrqS8jDCxq470FYejR1 s2sHXqZmyAqm9CuuQJAT653lsq4W0R2losrf7tk7ZLnMl8QtDaAnreSAGq170NEMdbfbmYA7r Syev/aix6ns4KhqXjPK2QeQys8cQTNacuk6T0miLmXTJcsll9g+Sn1aGgCE7Yhg+Y3qWyy5F+ 1pQKGJKzhR6cG2f9p5guwOnZgJW3Wb/IG37jNbN0tfVQymqDAmJfnV7nyHZmxh2vZ3aXtueHM O0ZEtXjitUVP7aFsWLDSDYJTmWzqC1lvgVEriKEBkOkcNfXilMV5CPkmD8LyNMdHN//jy/0i8 vvY9dTY Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1111 Lines: 28 From: Markus Elfring Date: Thu, 20 Apr 2017 09:45:04 +0200 A string which did not contain a data format specification should be put into a sequence. Thus use the corresponding function "seq_puts". This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/clk/clk-nomadik.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/clk-nomadik.c b/drivers/clk/clk-nomadik.c index 71677eb12565..8d57ab8d6ed8 100644 --- a/drivers/clk/clk-nomadik.c +++ b/drivers/clk/clk-nomadik.c @@ -467,7 +467,7 @@ static int nomadik_src_clk_show(struct seq_file *s, void *what) u32 src_pckensr0 = readl(src_base + SRC_PCKENSR0); u32 src_pckensr1 = readl(src_base + SRC_PCKENSR1); - seq_printf(s, "Clock: Boot: Now: Request: ASKED:\n"); + seq_puts(s, "Clock: Boot: Now: Request: ASKED:\n"); for (i = 0; i < ARRAY_SIZE(src_clk_names); i++) { u32 pcksrb = (i < 0x20) ? src_pcksr0_boot : src_pcksr1_boot; u32 pcksr = (i < 0x20) ? src_pcksr0 : src_pcksr1; -- 2.12.2