iio: temperature: tmp006: Add OF device matching support
authorAnup Sharma <anupnewsmail@gmail.com>
Sat, 20 May 2023 10:55:38 +0000 (16:25 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 28 May 2023 19:22:03 +0000 (20:22 +0100)
commit12a875055c15279c4f2db14cb0b593d81d16fc0b
treeea9a85e14fabf5c7d4ebfce3b962d378b40bdc15
parent7ad78a4074a3a357e94b0026639375d86d86b37b
iio: temperature: tmp006: Add OF device matching support

Adds an of_device_id table entry to the driver, enabling
device matching through device tree. With this update, the driver
can now match devices using both the i2c_device_id entry and the
newly added of_device_id table.

Signed-off-by: Anup Sharma <anupnewsmail@gmail.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/72746bdfd8f74171943e41759b891c7af40627ec.1684579603.git.anupnewsmail@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/temperature/tmp006.c