linux/drivers/iio/temperature
Biju Das fc1d297b92 iio: temperature: tmp117: Convert enum->pointer for data in the match tables
Convert enum->pointer for data in the match tables, so that
device_get_match_data() can do match against OF/ACPI/I2C tables, once i2c
bus type match support added to it.

Add struct tmp11x_info and replace enum->struct *tmp11x_info for data in
the match table. Drop tmp117_identify() and simplify tmp117_probe() by
replacing device_get_match_data() and id lookup for retrieving data by
i2c_get_match_data().

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Marco Felsch <m.felsch@pengutronix.de>
Link: https://lore.kernel.org/r/20230812161154.196555-1-biju.das.jz@bp.renesas.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2023-09-12 10:42:03 +01:00
..
hid-sensor-temperature.c
iqs620at-temp.c
Kconfig iio: temperature: Add driver support for Maxim MAX30208 2022-11-23 20:20:32 +00:00
ltc2983.c
Makefile iio: temperature: Add driver support for Maxim MAX30208 2022-11-23 20:20:32 +00:00
max30208.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
max31856.c
max31865.c
maxim_thermocouple.c
mlx90614.c iio: mlx90614: Use i2c_get_match_data() 2023-09-11 20:12:42 +01:00
mlx90632.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
tmp006.c iio: temperature: tmp006: Add OF device matching support 2023-05-28 20:22:03 +01:00
tmp007.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
tmp117.c iio: temperature: tmp117: Convert enum->pointer for data in the match tables 2023-09-12 10:42:03 +01:00
tsys01.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
tsys02d.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00