Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4b4e7a72 authored by Jean Delvare's avatar Jean Delvare Committed by Jean Delvare
Browse files

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: default avatarJean Delvare <khali@linux-fr.org>
Acked-by: default avatarMartyn Welch <martyn.welch@gefanuc.com>
parent 271dabf5
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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;
		}
	}