diff options
Diffstat (limited to 'drivers/hwmon/fschmd.c')
-rw-r--r-- | drivers/hwmon/fschmd.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/hwmon/fschmd.c b/drivers/hwmon/fschmd.c index 8af2755cdb87..d58abdc5a4cf 100644 --- a/drivers/hwmon/fschmd.c +++ b/drivers/hwmon/fschmd.c | |||
@@ -463,8 +463,9 @@ static ssize_t store_fan_div(struct device *dev, struct device_attribute | |||
463 | v = 3; | 463 | v = 3; |
464 | break; | 464 | break; |
465 | default: | 465 | default: |
466 | dev_err(dev, "fan_div value %lu not supported. " | 466 | dev_err(dev, |
467 | "Choose one of 2, 4 or 8!\n", v); | 467 | "fan_div value %lu not supported. Choose one of 2, 4 or 8!\n", |
468 | v); | ||
468 | return -EINVAL; | 469 | return -EINVAL; |
469 | } | 470 | } |
470 | 471 | ||
@@ -1249,8 +1250,8 @@ static int fschmd_probe(struct i2c_client *client, | |||
1249 | } | 1250 | } |
1250 | if (i == ARRAY_SIZE(watchdog_minors)) { | 1251 | if (i == ARRAY_SIZE(watchdog_minors)) { |
1251 | data->watchdog_miscdev.minor = 0; | 1252 | data->watchdog_miscdev.minor = 0; |
1252 | dev_warn(&client->dev, "Couldn't register watchdog chardev " | 1253 | dev_warn(&client->dev, |
1253 | "(due to no free minor)\n"); | 1254 | "Couldn't register watchdog chardev (due to no free minor)\n"); |
1254 | } | 1255 | } |
1255 | mutex_unlock(&watchdog_data_mutex); | 1256 | mutex_unlock(&watchdog_data_mutex); |
1256 | 1257 | ||