summaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/ccwgroup.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-07-22 03:18:15 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2013-08-22 12:20:00 +0200
commit0178722be9ed575d1724f6b815b7a1eb74b1ccb7 (patch)
treeed0f4c0cf95576fab29ee049bbd6120804def067 /drivers/s390/cio/ccwgroup.c
parentproc: more readdir conversion bug-fixes (diff)
downloadlinux-0178722be9ed575d1724f6b815b7a1eb74b1ccb7.tar.xz
linux-0178722be9ed575d1724f6b815b7a1eb74b1ccb7.zip
s390: replace strict_strtoul() with kstrtoul()
The usage of strict_strtoul() is not preferred, because strict_strtoul() is obsolete. Thus, kstrtoul() should be used. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/ccwgroup.c')
-rw-r--r--drivers/s390/cio/ccwgroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/cio/ccwgroup.c b/drivers/s390/cio/ccwgroup.c
index 84846c2b96d3..959135a01847 100644
--- a/drivers/s390/cio/ccwgroup.c
+++ b/drivers/s390/cio/ccwgroup.c
@@ -137,7 +137,7 @@ static ssize_t ccwgroup_online_store(struct device *dev,
if (!try_module_get(gdrv->driver.owner))
return -EINVAL;
- ret = strict_strtoul(buf, 0, &value);
+ ret = kstrtoul(buf, 0, &value);
if (ret)
goto out;