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>
此提交包含在:
Jingoo Han
2013-05-31 21:24:06 +00:00
提交者 David S. Miller
父節點 67d6bfa686
當前提交 27d7f47756
共有 7 個檔案被更改,包括 14 行新增14 行删除

查看文件

@@ -3119,7 +3119,7 @@ il3945_store_debug_level(struct device *d, struct device_attribute *attr,
unsigned long val;
int ret;
ret = strict_strtoul(buf, 0, &val);
ret = kstrtoul(buf, 0, &val);
if (ret)
IL_INFO("%s is not in hex or decimal form.\n", buf);
else