aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/adm1029.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/adm1029.c')
-rw-r--r--drivers/hwmon/adm1029.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/hwmon/adm1029.c b/drivers/hwmon/adm1029.c
index 97f4718382f6..9ee5e066423b 100644
--- a/drivers/hwmon/adm1029.c
+++ b/drivers/hwmon/adm1029.c
@@ -224,8 +224,9 @@ static ssize_t set_fan_div(struct device *dev,
224 break; 224 break;
225 default: 225 default:
226 mutex_unlock(&data->update_lock); 226 mutex_unlock(&data->update_lock);
227 dev_err(&client->dev, "fan_div value %ld not " 227 dev_err(&client->dev,
228 "supported. Choose one of 1, 2 or 4!\n", val); 228 "fan_div value %ld not supported. Choose one of 1, 2 or 4!\n",
229 val);
229 return -EINVAL; 230 return -EINVAL;
230 } 231 }
231 /* Update the value */ 232 /* Update the value */
@@ -326,8 +327,8 @@ static int adm1029_detect(struct i2c_client *client,
326 * There are no "official" CHIP ID, so actually 327 * There are no "official" CHIP ID, so actually
327 * we use Major/Minor revision for that 328 * we use Major/Minor revision for that
328 */ 329 */
329 pr_info("adm1029: Unknown major revision %x, " 330 pr_info("Unknown major revision %x, please let us know\n",
330 "please let us know\n", chip_id); 331 chip_id);
331 return -ENODEV; 332 return -ENODEV;
332 } 333 }
333 334