diff options
Diffstat (limited to 'drivers/hwmon')
-rw-r--r-- | drivers/hwmon/smsc47m1.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/hwmon/smsc47m1.c b/drivers/hwmon/smsc47m1.c index 6c81b843d831..9cd28f2709fc 100644 --- a/drivers/hwmon/smsc47m1.c +++ b/drivers/hwmon/smsc47m1.c | |||
@@ -429,7 +429,8 @@ static int smsc47m1_detect(struct i2c_adapter *adapter) | |||
429 | pwm2 = (smsc47m1_read_value(new_client, SMSC47M1_REG_PPIN(1)) & 0x05) | 429 | pwm2 = (smsc47m1_read_value(new_client, SMSC47M1_REG_PPIN(1)) & 0x05) |
430 | == 0x04; | 430 | == 0x04; |
431 | if (!(fan1 || fan2 || pwm1 || pwm2)) { | 431 | if (!(fan1 || fan2 || pwm1 || pwm2)) { |
432 | dev_warn(&new_client->dev, "Device is not configured, will not use\n"); | 432 | dev_warn(&adapter->dev, "Device at 0x%x is not configured, " |
433 | "will not use\n", new_client->addr); | ||
433 | err = -ENODEV; | 434 | err = -ENODEV; |
434 | goto error_free; | 435 | goto error_free; |
435 | } | 436 | } |