hwmon: replaced strict_str* with kstr*
[firefly-linux-kernel-4.4.55.git] / drivers / hwmon / w83793.c
index 854f9117f1aac2f976f91e5b9b45b13f39298a92..3cc6fef22087b19d03770b94a81d303b26d5afab 100644 (file)
@@ -450,7 +450,7 @@ store_chassis_clear(struct device *dev,
        unsigned long val;
        u8 reg;
 
-       if (strict_strtoul(buf, 10, &val) || val != 0)
+       if (kstrtoul(buf, 10, &val) || val != 0)
                return -EINVAL;
 
        mutex_lock(&data->update_lock);