]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
hwmon: (lm90) Don't spam the kernel log
authorJean Delvare <khali@linux-fr.org>
Fri, 17 Oct 2008 15:51:11 +0000 (17:51 +0200)
committerJean Delvare <khali@mahadeva.delvare>
Fri, 17 Oct 2008 15:51:11 +0000 (17:51 +0200)
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>
drivers/hwmon/lm90.c

index fe09f82c42e8891f8e6200a822091dacc2cd3bf7..3edeebc0b8355361532becdcb246d6493924be44 100644 (file)
@@ -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;
                }
        }