diff options
| author | 2018-07-03 07:41:00 +0200 | |
|---|---|---|
| committer | 2018-07-07 17:32:51 +0100 | |
| commit | 19868faad4c59646a9fbebc34c3bf07733db341e (patch) | |
| tree | 851b999cdee6647f757fc655d796c126fbf3ab13 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | iio: adc: ina2xx: avoid kthread_stop() with stale task_struct (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 <nikolaus.voss@loewensteinmedical.de>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
