mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
fc1d297b92
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> |
||
---|---|---|
.. | ||
hid-sensor-temperature.c | ||
iqs620at-temp.c | ||
Kconfig | ||
ltc2983.c | ||
Makefile | ||
max30208.c | ||
max31856.c | ||
max31865.c | ||
maxim_thermocouple.c | ||
mlx90614.c | ||
mlx90632.c | ||
tmp006.c | ||
tmp007.c | ||
tmp117.c | ||
tsys01.c | ||
tsys02d.c |