iio: adc: max1363: Use i2c_get_match_data()
authorBiju Das <biju.das.jz@bp.renesas.com>
Sat, 12 Aug 2023 07:24:19 +0000 (08:24 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 11 Sep 2023 19:12:42 +0000 (20:12 +0100)
commit9f6001e390927aa3173cfd4c7d325b8f1d93ccf8
treecf435109f786d88b2bd7f007fc05a1603423112b
parent72d365398d96293291abdab23ab6be08e86001fa
iio: adc: max1363: Use i2c_get_match_data()

Replace device_get_match_data() and i2c_match_id() by
i2c_get_match_data() by making similar I2C and DT-based matching
table.

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