aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/gl518sm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/gl518sm.c')
-rw-r--r--drivers/hwmon/gl518sm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/hwmon/gl518sm.c b/drivers/hwmon/gl518sm.c
index e2e5909a34df..95257a5621d8 100644
--- a/drivers/hwmon/gl518sm.c
+++ b/drivers/hwmon/gl518sm.c
@@ -344,8 +344,9 @@ static ssize_t set_fan_div(struct device *dev, struct device_attribute *attr,
344 val = 3; 344 val = 3;
345 break; 345 break;
346 default: 346 default:
347 dev_err(dev, "Invalid fan clock divider %lu, choose one " 347 dev_err(dev,
348 "of 1, 2, 4 or 8\n", val); 348 "Invalid fan clock divider %lu, choose one of 1, 2, 4 or 8\n",
349 val);
349 return -EINVAL; 350 return -EINVAL;
350 } 351 }
351 352