[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1381764280-28420-7-git-send-email-iivanov@mm-sol.com>
Date: Mon, 14 Oct 2013 18:24:33 +0300
From: "Ivan T. Ivanov" <iivanov@...sol.com>
To: balbi@...com
Cc: rob.herring@...xeda.com, pawel.moll@....com, mark.rutland@....com,
swarren@...dotorg.org, ijc+devicetree@...lion.org.uk,
rob@...dley.net, davidb@...eaurora.org, dwalker@...o99.com,
bryanh@...eaurora.org, linux@....linux.org.uk,
gregkh@...uxfoundation.org, grant.likely@...aro.org,
jackp@...eaurora.org, mgautam@...eaurora.org,
dsegal@...eaurora.org, linux-usb@...r.kernel.org,
devicetree@...r.kernel.org, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-msm@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
"Ivan T. Ivanov" <iivanov@...sol.com>
Subject: [PATCH v3 06/13] usb: phy: msm: Fix WARNING: Prefer seq_puts to seq_printf
From: "Ivan T. Ivanov" <iivanov@...sol.com>
This fixes checkpatch.pl warnings.
Signed-off-by: Ivan T. Ivanov <iivanov@...sol.com>
---
drivers/usb/phy/phy-msm-usb.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/phy/phy-msm-usb.c b/drivers/usb/phy/phy-msm-usb.c
index 28cab03..46800c0 100644
--- a/drivers/usb/phy/phy-msm-usb.c
+++ b/drivers/usb/phy/phy-msm-usb.c
@@ -1231,13 +1231,13 @@ static int msm_otg_mode_show(struct seq_file *s, void *unused)
switch (otg->phy->state) {
case OTG_STATE_A_HOST:
- seq_printf(s, "host\n");
+ seq_puts(s, "host\n");
break;
case OTG_STATE_B_PERIPHERAL:
- seq_printf(s, "peripheral\n");
+ seq_puts(s, "peripheral\n");
break;
default:
- seq_printf(s, "none\n");
+ seq_puts(s, "none\n");
break;
}
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists