aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/tmp401.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/tmp401.c')
-rw-r--r--drivers/hwmon/tmp401.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/hwmon/tmp401.c b/drivers/hwmon/tmp401.c
index c85f6967ccc3..97bf34494d84 100644
--- a/drivers/hwmon/tmp401.c
+++ b/drivers/hwmon/tmp401.c
@@ -451,8 +451,9 @@ static ssize_t reset_temp_history(struct device *dev,
451 return -EINVAL; 451 return -EINVAL;
452 452
453 if (val != 1) { 453 if (val != 1) {
454 dev_err(dev, "temp_reset_history value %ld not" 454 dev_err(dev,
455 " supported. Use 1 to reset the history!\n", val); 455 "temp_reset_history value %ld not supported. Use 1 to reset the history!\n",
456 val);
456 return -EINVAL; 457 return -EINVAL;
457 } 458 }
458 i2c_smbus_write_byte_data(to_i2c_client(dev), 459 i2c_smbus_write_byte_data(to_i2c_client(dev),