hwmon: (lm83) Demote log message if chip identification fails

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>
This commit is contained in:
Guenter Roeck 2021-12-22 23:49:59 -08:00
parent 362c5663e8
commit 4d63c2d31a
1 changed files with 3 additions and 3 deletions

View File

@ -341,9 +341,9 @@ static int lm83_detect(struct i2c_client *client,
break; break;
default: default:
/* identification failed */ /* identification failed */
dev_info(&adapter->dev, dev_dbg(&adapter->dev,
"Unsupported chip (man_id=0x%02X, chip_id=0x%02X)\n", "Unsupported chip (man_id=0x%02X, chip_id=0x%02X)\n",
man_id, chip_id); man_id, chip_id);
return -ENODEV; return -ENODEV;
} }