aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2008-10-17 11:51:11 -0400
committerJean Delvare <khali@mahadeva.delvare>2008-10-17 11:51:11 -0400
commit4b4e7a72fda549e309919931d8a39dea4e5b4be1 (patch)
tree6eb33fa01ad535dcfb7dbf50fbf1ed42445764cb
parent271dabf5bbf6ae6e2792cd5cf6f0434230e5c18c (diff)
hwmon: (lm90) Don't spam the kernel log
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>
-rw-r--r--drivers/hwmon/lm90.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/hwmon/lm90.c b/drivers/hwmon/lm90.c
index fe09f82c42e8..3edeebc0b835 100644
--- a/drivers/hwmon/lm90.c
+++ b/drivers/hwmon/lm90.c
@@ -742,9 +742,9 @@ static int lm90_detect(struct i2c_client *new_client, int kind,
742 } 742 }
743 743
744 if (kind <= 0) { /* identification failed */ 744 if (kind <= 0) { /* identification failed */
745 dev_info(&adapter->dev, 745 dev_dbg(&adapter->dev,
746 "Unsupported chip (man_id=0x%02X, " 746 "Unsupported chip at 0x%02x (man_id=0x%02X, "
747 "chip_id=0x%02X).\n", man_id, chip_id); 747 "chip_id=0x%02X)\n", address, man_id, chip_id);
748 return -ENODEV; 748 return -ENODEV;
749 } 749 }
750 } 750 }