diff options
Diffstat (limited to 'drivers/hwmon/max16065.c')
-rw-r--r-- | drivers/hwmon/max16065.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/max16065.c b/drivers/hwmon/max16065.c index 385886a4f224..f8e323ac6cb3 100644 --- a/drivers/hwmon/max16065.c +++ b/drivers/hwmon/max16065.c | |||
@@ -230,7 +230,7 @@ static ssize_t max16065_set_limit(struct device *dev, | |||
230 | int err; | 230 | int err; |
231 | int limit; | 231 | int limit; |
232 | 232 | ||
233 | err = strict_strtoul(buf, 10, &val); | 233 | err = kstrtoul(buf, 10, &val); |
234 | if (unlikely(err < 0)) | 234 | if (unlikely(err < 0)) |
235 | return err; | 235 | return err; |
236 | 236 | ||