Skip to content

Commit

Permalink
hwmon: (lm90) Don't spam the kernel log
Browse files Browse the repository at this point in the history
Degrade the "Unsupported chip" message from info to debug level.
There's nothing wrong with this, so no need to bother the user.
Also make the message slightly more descriptive.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Martyn Welch <martyn.welch@gefanuc.com>
  • Loading branch information
Jean Delvare authored and Jean Delvare committed Oct 17, 2008
1 parent 271dabf commit 4b4e7a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/hwmon/lm90.c
Original file line number Diff line number Diff line change
Expand Up @@ -742,9 +742,9 @@ static int lm90_detect(struct i2c_client *new_client, int kind,
}

if (kind <= 0) { /* identification failed */
dev_info(&adapter->dev,
"Unsupported chip (man_id=0x%02X, "
"chip_id=0x%02X).\n", man_id, chip_id);
dev_dbg(&adapter->dev,
"Unsupported chip at 0x%02x (man_id=0x%02X, "
"chip_id=0x%02X)\n", address, man_id, chip_id);
return -ENODEV;
}
}
Expand Down

0 comments on commit 4b4e7a7

Please sign in to comment.