Use i2c_get_match_data() to get match data for I2C, ACPI and DT-based matching. This patch series is only compile tested. Biju Das (4): iio: accel: adxl355: Simplify probe() iio: accel: adxl313: Use i2c_get_match_data iio: potentiometer: mcp4531: Use i2c_get_match_data iio: potentiometer: mcp4018: Use i2c_get_match_data drivers/iio/accel/adxl313_i2c.c | 4 ++-- drivers/iio/accel/adxl355_i2c.c | 15 +++------------ drivers/iio/potentiometer/mcp4018.c | 4 ++-- drivers/iio/potentiometer/mcp4531.c | 4 ++-- 4 files changed, 9 insertions(+), 18 deletions(-) -- 2.25.1