linux/drivers/iio/proximity
Biju Das 21fd3b1373 iio: proximity: sx9310: Convert enum->pointer for match data table
Convert enum->pointer for data in match data table, 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 sx931x_info and replace enum->sx931x_info in the match table
and simplify sx9310_check_whoami().

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/20230818175819.325663-1-biju.das.jz@bp.renesas.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2023-09-11 20:12:41 +01:00
..
as3935.c iio: Rename iio_trigger_poll_chained and add kernel-doc 2023-03-11 12:18:29 +00:00
cros_ec_mkbp_proximity.c
irsd200.c iio: Add driver for Murata IRS-D200 2023-07-23 13:21:54 +01:00
isl29501.c iio: adc: Explicitly include correct DT includes 2023-07-23 13:38:13 +01:00
Kconfig iio: Add driver for Murata IRS-D200 2023-07-23 13:21:54 +01:00
Makefile iio: Add driver for Murata IRS-D200 2023-07-23 13:21:54 +01:00
mb1232.c iio: mb1232: relax return value check for IRQ get 2023-08-01 18:55:46 +01:00
ping.c
pulsedlight-lidar-lite-v2.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
rfd77402.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
srf04.c
srf08.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
sx9310.c iio: proximity: sx9310: Convert enum->pointer for match data table 2023-09-11 20:12:41 +01:00
sx9324.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
sx9360.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
sx9500.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
sx_common.c iio: proximity: sx_common: Add old register mapping 2023-03-11 12:18:28 +00:00
sx_common.h iio: proximity: sx_common: Add old register mapping 2023-03-11 12:18:28 +00:00
vcnl3020.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
vl53l0x-i2c.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00