diff options
author | Biju Das <biju.das.jz@bp.renesas.com> | 2023-07-23 12:27:43 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2023-07-29 16:55:48 +0200 |
commit | 9afc8c6dc68f2f58c4ad7c7c72158e1a7bb5395e (patch) | |
tree | 5b26664856a21ae6bc7d46b9386e24b2fc153bc6 /tools/iio | |
parent | iio: potentiometer: mcp4018: Use i2c_get_match_data() (diff) | |
download | linux-9afc8c6dc68f2f58c4ad7c7c72158e1a7bb5395e.tar.xz linux-9afc8c6dc68f2f58c4ad7c7c72158e1a7bb5395e.zip |
iio: potentiometer: mcp4531: 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/20230723102743.102284-1-biju.das.jz@bp.renesas.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/iio')
0 files changed, 0 insertions, 0 deletions