diff options
| author | Nikolaus Voss <[email protected]> | 2018-07-03 07:41:00 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2018-07-07 17:32:51 +0100 |
| commit | 19868faad4c59646a9fbebc34c3bf07733db341e (patch) | |
| tree | 851b999cdee6647f757fc655d796c126fbf3ab13 /tools/perf/scripts/python | |
| parent | 7d6cd21d82bacab2d1786fe5e989e4815b75d9a3 (diff) | |
IIO: st_accel_i2c.c: Simplify access to driver data
Use device_get_match_data API to simplify access to driver data.
Let acpi_device_id table entries point to the same driver data as
of_device_id table entries and uniquify access to driver data by using
device_get_match_data API. Remove unused i2c_device_id .driver_data
fields.
Signed-off-by: Nikolaus Voss <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions