diff options
| author | Biju Das <[email protected]> | 2023-08-18 19:40:32 +0100 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2023-09-11 20:12:41 +0100 |
| commit | 0f8eaeda7659d02063278c7eb72bbcd2d2819375 (patch) | |
| tree | 920e0569f36faac86d681e8aac7c4004f69fc60b /tools/perf/scripts/python | |
| parent | 974a6c27b4d707f75d283805e7fc8aa54686f198 (diff) | |
iio: accel: mma8452: Convert enum->pointer for data in the ID table
Convert enum->pointer for data in the ID table, so that
device_get_match_data() can do match against OF/ACPI/I2C tables, once i2c
bus type match support added to it.
Replace enum->struct *mma_chip_info for data in the ID table and simplify
mma8452_probe() by replacing device_get_match_data() with
i2c_get_match_data().
Signed-off-by: Biju Das <[email protected]>
Reviewed-by: Hans de Goede <[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