diff options
Diffstat (limited to 'drivers/hwmon/w83793.c')
-rw-r--r-- | drivers/hwmon/w83793.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/w83793.c b/drivers/hwmon/w83793.c index 854f9117f1aa..3cc6fef22087 100644 --- a/drivers/hwmon/w83793.c +++ b/drivers/hwmon/w83793.c | |||
@@ -450,7 +450,7 @@ store_chassis_clear(struct device *dev, | |||
450 | unsigned long val; | 450 | unsigned long val; |
451 | u8 reg; | 451 | u8 reg; |
452 | 452 | ||
453 | if (strict_strtoul(buf, 10, &val) || val != 0) | 453 | if (kstrtoul(buf, 10, &val) || val != 0) |
454 | return -EINVAL; | 454 | return -EINVAL; |
455 | 455 | ||
456 | mutex_lock(&data->update_lock); | 456 | mutex_lock(&data->update_lock); |