diff options
| author | Biju Das <[email protected]> | 2023-07-16 18:52:15 +0100 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2023-07-22 17:24:51 +0100 |
| commit | ad25fc289be9532f486ef2cc6156e8d5acb060db (patch) | |
| tree | 3eb71e8afea8c163d04acbd0ce00ea9924ea0791 /tools/perf/scripts/python | |
| parent | 3a06b2845a09a2c7bcbd909d4289353f054363e9 (diff) | |
iio: accel: adxl355: Simplify probe()
Simplify the probe() by replacing of_device_get_match_data() and
i2c_match_id() by i2c_get_match_data() as we have similar I2C
and DT-based matching table.
Signed-off-by: Biju Das <[email protected]>
Reviewed-by: Puranjay Mohan <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions