Commit 0830d3bb authored by Rob Herring (Arm)'s avatar Rob Herring (Arm) Committed by Guenter Roeck

hwmon: (stts751) Add "st" vendor prefix to "stts751" compatible string

The documented compatible string is "st,stts751", not "stts751". Even if
"stts751" was in use, there's no need to list "stts751" in the DT match
table. The I2C core will strip any vendor prefix and match against the
i2c_device_id table which has an "stts751" entry.
Signed-off-by: default avatarRob Herring (Arm) <robh@kernel.org>
Message-ID: <20240826191811.1416011-1-robh@kernel.org>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent b6964d66
......@@ -77,7 +77,7 @@ static const struct i2c_device_id stts751_id[] = {
};
static const struct of_device_id __maybe_unused stts751_of_match[] = {
{ .compatible = "stts751" },
{ .compatible = "st,stts751" },
{ },
};
MODULE_DEVICE_TABLE(of, stts751_of_match);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment