Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Rob Herring (Arm) and committed by
Guenter Roeck
0830d3bb b6964d66

+1 -1
+1 -1
drivers/hwmon/stts751.c
··· 77 77 }; 78 78 79 79 static const struct of_device_id __maybe_unused stts751_of_match[] = { 80 - { .compatible = "stts751" }, 80 + { .compatible = "st,stts751" }, 81 81 { }, 82 82 }; 83 83 MODULE_DEVICE_TABLE(of, stts751_of_match);