diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-05-31 21:24:06 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-03 00:39:46 -0700 |
commit | 27d7f47756f40fb1bc3159e09217f740f5c5b5b1 (patch) | |
tree | c4f2d3368efab3eaf4bb6bca9499a62dd688e131 /drivers/net/wireless/rtlwifi/base.c | |
parent | 67d6bfa6863c8535445e1dcdb3385e3a05cd32a7 (diff) | |
download | talos-obmc-linux-27d7f47756f40fb1bc3159e09217f740f5c5b5b1.tar.gz talos-obmc-linux-27d7f47756f40fb1bc3159e09217f740f5c5b5b1.zip |
net: wireless: 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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/base.c')
-rw-r--r-- | drivers/net/wireless/rtlwifi/base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtlwifi/base.c b/drivers/net/wireless/rtlwifi/base.c index af59dd5718e1..8053f775d392 100644 --- a/drivers/net/wireless/rtlwifi/base.c +++ b/drivers/net/wireless/rtlwifi/base.c @@ -1817,7 +1817,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 { |