hwmon: (xdp710) export the OF module alias
PATCH v2 1/1 hwmon: (xdp710) export the OF module alias
xdp710 exports its I2C ID table but not its OF match table. Export the latter so the OF modalias generated for a device tree client can load the driver.
---
Changes since v1:
Use the author's full name.
Previous version: https://lore.kernel.org/r/[email protected]
Codex assisted with patch preparation and the changelog. Current review: Codex (Assisted-by: gpt 5). Static review only; this revision was not built.
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" },
base-commit: 693c2e04e3f1d4c59af236e1211b7b8cb165a790
[email protected]
AI reviewSashiko has reviewed this patch and found no issues.
Quoted 6 lines
xdp710 exports its I2C ID table but not its OF match table. Export the latter so the OF modalias generated for a device tree client can load the driver.
Fixes 35fe06d94e39 ("hwmon: (pmbus) Add support for Infineon XDP710")Signed-off-by Pengpeng Hou <[email protected]>
Sashiko has reviewed this patch and found no issues.
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
Quoted 6 lines · Pengpeng Hou
xdp710 exports its I2C ID table but not its OF match table. Export the latter so the OF modalias generated for a device tree client can load the driver.
Fixes 35fe06d94e39 ("hwmon: (pmbus) Add support for Infineon XDP710")Signed-off-by Pengpeng Hou <[email protected]>
Applied.
Thanks,
Guenter