[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 5 May 2012 16:31:47 +0200
From: Johannes Thumshirn <morbidrsa@...glemail.com>
To: gregkh@...uxfoundation.org, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org
Cc: grabner@....tugraz.at, andor.daam@...glemail.com, thomas@...3r.de,
jj@...osbits.net, stefanha@...il.com,
Johannes Thumshirn <morbidrsa@...glemail.com>
Subject: [PATCH 3/8] drivers/staging/line6/variax.c: Change strict_strtoul to kstrtoul
Changed strict_strtoul() call to kstrtoul to make checkpatch.pl happy
Signed-off-by: Johannes Thumshirn <morbidrsa@...glemail.com>
---
drivers/staging/line6/variax.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/line6/variax.c b/drivers/staging/line6/variax.c
index d366222..cf41695 100644
--- a/drivers/staging/line6/variax.c
+++ b/drivers/staging/line6/variax.c
@@ -322,7 +322,7 @@ static ssize_t variax_set_volume(struct device *dev,
unsigned long value;
int ret;
- ret = strict_strtoul(buf, 10, &value);
+ ret = kstrtoul(buf, 10, &value);
if (ret)
return ret;
@@ -356,7 +356,7 @@ static ssize_t variax_set_model(struct device *dev,
unsigned long value;
int ret;
- ret = strict_strtoul(buf, 10, &value);
+ ret = kstrtoul(buf, 10, &value);
if (ret)
return ret;
@@ -390,7 +390,7 @@ static ssize_t variax_set_active(struct device *dev,
unsigned long value;
int ret;
- ret = strict_strtoul(buf, 10, &value);
+ ret = kstrtoul(buf, 10, &value);
if (ret)
return ret;
@@ -421,7 +421,7 @@ static ssize_t variax_set_tone(struct device *dev,
unsigned long value;
int ret;
- ret = strict_strtoul(buf, 10, &value);
+ ret = kstrtoul(buf, 10, &value);
if (ret)
return ret;
--
1.7.7.6
--
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