diff options
Diffstat (limited to 'drivers/hwmon/ds620.c')
-rw-r--r-- | drivers/hwmon/ds620.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/ds620.c b/drivers/hwmon/ds620.c index 225ae4f36583..300c3d4d67df 100644 --- a/drivers/hwmon/ds620.c +++ b/drivers/hwmon/ds620.c | |||
@@ -161,7 +161,7 @@ static ssize_t set_temp(struct device *dev, struct device_attribute *da, | |||
161 | struct i2c_client *client = to_i2c_client(dev); | 161 | struct i2c_client *client = to_i2c_client(dev); |
162 | struct ds620_data *data = i2c_get_clientdata(client); | 162 | struct ds620_data *data = i2c_get_clientdata(client); |
163 | 163 | ||
164 | res = strict_strtol(buf, 10, &val); | 164 | res = kstrtol(buf, 10, &val); |
165 | 165 | ||
166 | if (res) | 166 | if (res) |
167 | return res; | 167 | return res; |