aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/vt8231.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/vt8231.c')
-rw-r--r--drivers/hwmon/vt8231.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/hwmon/vt8231.c b/drivers/hwmon/vt8231.c
index 988a2a796764..0e7017841f7d 100644
--- a/drivers/hwmon/vt8231.c
+++ b/drivers/hwmon/vt8231.c
@@ -573,8 +573,9 @@ static ssize_t set_fan_div(struct device *dev, struct device_attribute *attr,
573 data->fan_div[nr] = 3; 573 data->fan_div[nr] = 3;
574 break; 574 break;
575 default: 575 default:
576 dev_err(dev, "fan_div value %ld not supported. " 576 dev_err(dev,
577 "Choose one of 1, 2, 4 or 8!\n", val); 577 "fan_div value %ld not supported. Choose one of 1, 2, 4 or 8!\n",
578 val);
578 mutex_unlock(&data->update_lock); 579 mutex_unlock(&data->update_lock);
579 return -EINVAL; 580 return -EINVAL;
580 } 581 }