iio: potentiometer: ad5110: Use i2c_get_match_data()
authorBiju Das <biju.das.jz@bp.renesas.com>
Sat, 12 Aug 2023 15:08:38 +0000 (16:08 +0100)
committerJonathan Cameron <jonathan.cameron@huawei.com>
Tue, 12 Sep 2023 09:42:03 +0000 (10:42 +0100)
commitc4153b5720e62be957f3497049cb2706f0b8a5b1
treeacd82811d5963fa127fa066a02c2885abd50e299
parent0f5cecd14f42a2cbd10f7670c025dfb98a817f7b
iio: potentiometer: ad5110: Use i2c_get_match_data()

Replace device_get_match_data()->i2c_get_match_data by making similar I2C
and DT-based matching table to extend matching support for ID table.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20230812150838.185055-1-biju.das.jz@bp.renesas.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/potentiometer/ad5110.c