]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/hwmon/tmp102.c
hwmon: replaced strict_str* with kstr*
[mirror_ubuntu-artful-kernel.git] / drivers / hwmon / tmp102.c
index 643aa8c94535b2ec9a1cadc5ce589dd58c860089..c08eee21d76e1335bf07d6af702093851243ace0 100644 (file)
@@ -112,7 +112,7 @@ static ssize_t tmp102_set_temp(struct device *dev,
        long val;
        int status;
 
-       if (strict_strtol(buf, 10, &val) < 0)
+       if (kstrtol(buf, 10, &val) < 0)
                return -EINVAL;
        val = SENSORS_LIMIT(val, -256000, 255000);