]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
hwmon: (adt7410): Add OF match table
authorNuno Sá <nuno.sa@analog.com>
Wed, 15 Oct 2025 14:52:20 +0000 (15:52 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 16 Oct 2025 20:45:35 +0000 (13:45 -0700)
commit7b2a5a84694ea01e752411c24721d298cd07bc90
tree0f1e9c66e1e61da53fe41762122cf5952c74a2f9
parentd10b16d02cc7d4c5fedd030ef389adf9c87198dd
hwmon: (adt7410): Add OF match table

Add a struct of_device_id match table to the driver.

While at it, make sure to properly include mod_devicetable.h which is
also needed for struct i2c_device_id.

Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20251015-dev-add-adt7422-v1-2-7cf72d3253ad@analog.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/adt7410.c