[<prev] [next>] [day] [month] [year] [list]
Message-ID: <03221724-642c-cf80-aebb-cdffe1afc826@users.sourceforge.net>
Date: Fri, 14 Apr 2017 11:17:19 +0200
From: SF Markus Elfring <elfring@...rs.sourceforge.net>
To: linux-gpio@...r.kernel.org, Arnd Bergmann <arnd@...db.de>,
Gary Bisson <gary.bisson@...ndarydevices.com>,
Laxman Dewangan <ldewangan@...dia.com>,
Linus Walleij <linus.walleij@...aro.org>,
Paul Gortmaker <paul.gortmaker@...driver.com>,
Peng Fan <van.freenix@...il.com>,
Shawn Guo <shawnguo@...nel.org>,
Vladimir Zapolskiy <vladimir_zapolskiy@...tor.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org
Subject: [PATCH 06/10] pinctrl: imx: Use seq_putc() in
imx_pinconf_group_dbg_show()
From: Markus Elfring <elfring@...rs.sourceforge.net>
Date: Thu, 13 Apr 2017 15:43:55 +0200
A single character (line break) should be put into a sequence.
Thus use the corresponding function "seq_putc".
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@...rs.sourceforge.net>
---
drivers/pinctrl/freescale/pinctrl-imx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pinctrl/freescale/pinctrl-imx.c b/drivers/pinctrl/freescale/pinctrl-imx.c
index 078875361d76..71dbba892e70 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx.c
+++ b/drivers/pinctrl/freescale/pinctrl-imx.c
@@ -443,7 +443,7 @@ static void imx_pinconf_group_dbg_show(struct pinctrl_dev *pctldev,
if (group > pctldev->num_groups)
return;
- seq_printf(s, "\n");
+ seq_putc(s, '\n');
grp = pinctrl_generic_get_group(pctldev, group);
if (!grp)
return;
--
2.12.2
Powered by blists - more mailing lists