diff options
author | Biju Das <biju.das.jz@bp.renesas.com> | 2023-08-18 18:39:06 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2023-09-11 20:12:41 +0100 |
commit | 17dc571687c5cc60e88fe29a33da0b9c64647086 (patch) | |
tree | 94d88e6a60f2321c6546477438090e1c6e04d9dc /drivers/comedi | |
parent | 21fd3b1373f65c6a9d910642ecef194a077d1624 (diff) | |
download | linux-stable-17dc571687c5cc60e88fe29a33da0b9c64647086.tar.gz linux-stable-17dc571687c5cc60e88fe29a33da0b9c64647086.tar.bz2 linux-stable-17dc571687c5cc60e88fe29a33da0b9c64647086.zip |
iio: dac: ti-dac5571: Use i2c_get_match_data()
Replace device_get_match_data() and id lookup for retrieving match data
by i2c_get_match_data() by converting enum->pointer for data in the
match table.
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20230818173907.323640-2-biju.das.jz@bp.renesas.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/comedi')
0 files changed, 0 insertions, 0 deletions