Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wirel...
[cascardo/linux.git] / drivers / net / wireless / iwlegacy / 4965-mac.c
index d287fd2..b9b2bb5 100644 (file)
@@ -4585,7 +4585,7 @@ il4965_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_ERR("%s is not in hex or decimal form.\n", buf);
        else
@@ -4632,7 +4632,7 @@ il4965_store_tx_power(struct device *d, struct device_attribute *attr,
        unsigned long val;
        int ret;
 
-       ret = strict_strtoul(buf, 10, &val);
+       ret = kstrtoul(buf, 10, &val);
        if (ret)
                IL_INFO("%s is not in decimal form.\n", buf);
        else {