hwmon: (lm83) Demote log message if chip identification fails
authorGuenter Roeck <linux@roeck-us.net>
Thu, 23 Dec 2021 07:49:59 +0000 (23:49 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 28 Feb 2022 01:03:16 +0000 (17:03 -0800)
There should be no message in the kernel function if the detect function
fails to identify a chip; this is perfectly normal and does not warrant
a kernel log entry. Demote message to debug.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/lm83.c

index 434bd5b..82d7ef2 100644 (file)
@@ -341,9 +341,9 @@ static int lm83_detect(struct i2c_client *client,
                break;
        default:
                /* 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 (man_id=0x%02X, chip_id=0x%02X)\n",
+                       man_id, chip_id);
                return -ENODEV;
        }