]> Pileus Git - ~andy/linux/blobdiff - drivers/hwmon/sht15.c
hwmon: (lm63) Fix incorrect comment about I2C address
[~andy/linux] / drivers / hwmon / sht15.c
index fe4104c6b764e9064278bc2f02d9c27b4aff56e9..6ddeae049058e377562c3382b5d06095a9e39beb 100644 (file)
@@ -683,7 +683,7 @@ static ssize_t sht15_store_heater(struct device *dev,
        long value;
        u8 status;
 
-       if (strict_strtol(buf, 10, &value))
+       if (kstrtol(buf, 10, &value))
                return -EINVAL;
 
        mutex_lock(&data->read_lock);