diff options
| author | Biju Das <[email protected]> | 2023-08-18 18:58:19 +0100 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2023-09-11 20:12:41 +0100 |
| commit | 21fd3b1373f65c6a9d910642ecef194a077d1624 (patch) | |
| tree | 9053e8d250078a5600b16c533bdd9a34fdf29d6c /tools/perf/scripts/python | |
| parent | 7f8643aa5e0fbf540eeba412fc2a7d4dfc2f22f8 (diff) | |
iio: proximity: sx9310: Convert enum->pointer for match data table
Convert enum->pointer for data in match data table, so that
device_get_match_data() can do match against OF/ACPI/I2C tables, once i2c
bus type match support added to it.
Add struct sx931x_info and replace enum->sx931x_info in the match table
and simplify sx9310_check_whoami().
Signed-off-by: Biju Das <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Reviewed-by: Stephen Boyd <[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