hwmon: (xdp710) Publish the OF module alias
PATCH 1/1 hwmon: (xdp710) Publish the OF module alias
The XDP710 driver registers xdp710_of_match, but only exports its I2C ID table. Device Tree clients emit an OF modalias instead of the legacy I2C alias.
Publish the existing OF table to make module selection available for that enumeration path.
--- drivers/hwmon/pmbus/xdp710.c | 1 + 1 file changed, 1 insertion(+)
drivers/hwmon/pmbus/xdp710.c +1 -0
@@ -108,6 +108,7 @@ static const struct of_device_id xdp710_of_match[] = { { .compatible = "infineon,xdp710" }, {} }; +MODULE_DEVICE_TABLE (of, xdp710_of_match);static const struct i2c_device_id xdp710_id[] = { { .name ="xdp710" },
[email protected]
AI reviewSashiko has reviewed this patch and found no issues. It looks great!
Quoted 9 lines
The XDP710 driver registers
xdp710_of_match, but only exports its I2C ID table. Device Tree clients emit an OF modalias instead of the legacy I2C alias.Publish the existing OF table to make module selection available for that enumeration path.
Fixes 35fe06d94e39 ("hwmon: (pmbus) Add support for Infineon XDP710")Signed-off-by hpp.iscas <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great!
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
Guenter Roeck
maintainerQuoted 9 lines · hpp.iscas
The XDP710 driver registers
xdp710_of_match, but only exports its I2C ID table. Device Tree clients emit an OF modalias instead of the legacy I2C alias.Publish the existing OF table to make module selection available for that enumeration path.
Fixes 35fe06d94e39 ("hwmon: (pmbus) Add support for Infineon XDP710")Signed-off-by hpp.iscas <[email protected]>
.... add a line saying::
using a known identity (sorry, no anonymous contributions.)
Sorry, I can not accept your patches. hpp.iscas is not a known identity.
Guenter
Quoted 16 lines
--- drivers/hwmon/pmbus/xdp710.c | 1 + 1 file changed, 1 insertion(+)drivers/hwmon/pmbus/xdp710.c +1
-0@@ -108,6 +108,7 @@ static const struct of_device_id xdp710_of_match[] = { { .compatible = "infineon,xdp710" }, {} }; +MODULE_DEVICE_TABLE (of, xdp710_of_match);static const struct i2c_device_id xdp710_id[] = { { .name ="xdp710" },