summaryrefslogtreecommitdiff
path: root/drivers/base/regmap
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-07-26 04:10:22 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-27 01:02:43 (GMT)
commit34da5e6770ac06df770a0355b417155e6e84e263 (patch)
tree0b415e6c7e5c5a96ac730ed3b36488a662129e92 /drivers/base/regmap
parent86df268705696ce2286410f1493e294e889bdce6 (diff)
downloadlinux-34da5e6770ac06df770a0355b417155e6e84e263.tar.xz
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/regmap')
-rw-r--r--drivers/base/regmap/regmap-debugfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/regmap/regmap-debugfs.c b/drivers/base/regmap/regmap-debugfs.c
index 5349575..634164d 100644
--- a/drivers/base/regmap/regmap-debugfs.c
+++ b/drivers/base/regmap/regmap-debugfs.c
@@ -281,7 +281,7 @@ static ssize_t regmap_map_write_file(struct file *file,
reg = simple_strtoul(start, &start, 16);
while (*start == ' ')
start++;
- if (strict_strtoul(start, 16, &value))
+ if (kstrtoul(start, 16, &value))
return -EINVAL;
/* Userspace has been fiddling around behind the kernel's back */