X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=drivers%2Fhwmon%2Fsht15.c;h=6ddeae049058e377562c3382b5d06095a9e39beb;hb=d93ab7807063ade8ad4b3ba55347e333dbde4d52;hp=fe4104c6b764e9064278bc2f02d9c27b4aff56e9;hpb=403299a8515c56db58454c57712f4dc96d6c1fde;p=~andy%2Flinux diff --git a/drivers/hwmon/sht15.c b/drivers/hwmon/sht15.c index fe4104c6b76..6ddeae04905 100644 --- a/drivers/hwmon/sht15.c +++ b/drivers/hwmon/sht15.c @@ -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);