aboutsummaryrefslogtreecommitdiff
path: root/drivers/base/core.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-07-26 13:10:22 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-26 18:02:43 -0700
commit34da5e6770ac06df770a0355b417155e6e84e263 (patch)
tree0b415e6c7e5c5a96ac730ed3b36488a662129e92 /drivers/base/core.c
parent86df268705696ce2286410f1493e294e889bdce6 (diff)
driver core: replace strict_strto*() with kstrto*()
The usage of strict_strto*() is not preferred, because strict_strto*() is obsolete. Thus, kstrto*() should be used. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/core.c')
-rw-r--r--drivers/base/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/core.c b/drivers/base/core.c
index 4b9b0d7f602..e51c7878293 100644
--- a/drivers/base/core.c
+++ b/drivers/base/core.c
@@ -38,7 +38,7 @@ long sysfs_deprecated = 0;
#endif
static __init int sysfs_deprecated_setup(char *arg)
{
- return strict_strtol(arg, 10, &sysfs_deprecated);
+ return kstrtol(arg, 10, &sysfs_deprecated);
}
early_param("sysfs.deprecated", sysfs_deprecated_setup);
#endif