diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-02-05 11:49:36 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-07 10:38:41 -0800 |
commit | 2ec1cb760582f8e666fb493ed1ccec7d5cc3d8c6 (patch) | |
tree | bc1816840401b7310d7c20a7d2225952ff270fcb | |
parent | 0d5de1777684bdb8d28aaa99891be9c7b55b83e8 (diff) |
Staging: rtl8812ae: 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/rtl8821ae/base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8821ae/base.c b/drivers/staging/rtl8821ae/base.c index 30b3d3982703..da04f034e114 100644 --- a/drivers/staging/rtl8821ae/base.c +++ b/drivers/staging/rtl8821ae/base.c @@ -1715,7 +1715,7 @@ static ssize_t rtl_store_debug_level(struct device *d, unsigned long val; int ret; - ret = strict_strtoul(buf, 0, &val); + ret = kstrtoul(buf, 0, &val); if (ret) { printk(KERN_DEBUG "%s is not in hex or decimal form.\n", buf); } else { |