diff options
| author | Biju Das <[email protected]> | 2023-09-03 12:55:46 +0100 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2023-09-12 10:42:04 +0100 |
| commit | 18bdc686c1519e067dc80ec0015da52e2bd628b9 (patch) | |
| tree | ed44de845a02ee42a08a621c061e706d863b5494 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 002d546fff4f83648903eada2b6226d314374fdb (diff) | |
iio: dac: mcp4725: Use i2c_get_match_data()
Add struct mcp4725_chip_info with chan_spec and chip_id variable.
After this simplify probe() by replacing 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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions