aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/lm78.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/lm78.c')
-rw-r--r--drivers/hwmon/lm78.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/hwmon/lm78.c b/drivers/hwmon/lm78.c
index 483538fa1bd5..6cf6bff79003 100644
--- a/drivers/hwmon/lm78.c
+++ b/drivers/hwmon/lm78.c
@@ -386,8 +386,9 @@ static ssize_t set_fan_div(struct device *dev, struct device_attribute *da,
386 data->fan_div[nr] = 3; 386 data->fan_div[nr] = 3;
387 break; 387 break;
388 default: 388 default:
389 dev_err(dev, "fan_div value %ld not " 389 dev_err(dev,
390 "supported. Choose one of 1, 2, 4 or 8!\n", val); 390 "fan_div value %ld not supported. Choose one of 1, 2, 4 or 8!\n",
391 val);
391 mutex_unlock(&data->update_lock); 392 mutex_unlock(&data->update_lock);
392 return -EINVAL; 393 return -EINVAL;
393 } 394 }
@@ -636,8 +637,9 @@ static int lm78_i2c_detect(struct i2c_client *client,
636 goto err_nodev; 637 goto err_nodev;
637 638
638 if (lm78_alias_detect(client, i)) { 639 if (lm78_alias_detect(client, i)) {
639 dev_dbg(&adapter->dev, "Device at 0x%02x appears to " 640 dev_dbg(&adapter->dev,
640 "be the same as ISA device\n", address); 641 "Device at 0x%02x appears to be the same as ISA device\n",
642 address);
641 goto err_nodev; 643 goto err_nodev;
642 } 644 }
643 645