net: can: replace strict_strtoul() with kstrtoul()
[deliverable/linux.git] / drivers / net / can / janz-ican3.c
index c4bc1d2e2033214db1a20ff584d184f35d8635ec..36bd6fa1c7f3e4760b5f69f65b420f8d55b66a5f 100644 (file)
@@ -1734,7 +1734,7 @@ static ssize_t ican3_sysfs_set_term(struct device *dev,
        unsigned long enable;
        int ret;
 
-       if (strict_strtoul(buf, 0, &enable))
+       if (kstrtoul(buf, 0, &enable))
                return -EINVAL;
 
        ret = ican3_set_termination(mod, enable);
This page took 0.025406 seconds and 5 git commands to generate.