Skip to content

Commit 0830d3b

Browse files
robherringgroeck
authored andcommitted
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: Rob Herring (Arm) <robh@kernel.org> Message-ID: <20240826191811.1416011-1-robh@kernel.org> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
1 parent b6964d6 commit 0830d3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/hwmon/stts751.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ static const struct i2c_device_id stts751_id[] = {
7777
};
7878

7979
static const struct of_device_id __maybe_unused stts751_of_match[] = {
80-
{ .compatible = "stts751" },
80+
{ .compatible = "st,stts751" },
8181
{ },
8282
};
8383
MODULE_DEVICE_TABLE(of, stts751_of_match);

0 commit comments

Comments
 (0)