diff options
| author | Nikolaus Voss <nikolaus.voss@loewensteinmedical.de> | 2018-07-03 08:41:00 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-07-07 19:32:51 +0300 |
| commit | 19868faad4c59646a9fbebc34c3bf07733db341e (patch) | |
| tree | 851b999cdee6647f757fc655d796c126fbf3ab13 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | 7d6cd21d82bacab2d1786fe5e989e4815b75d9a3 (diff) | |
| download | linux-19868faad4c59646a9fbebc34c3bf07733db341e.tar.xz | |
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/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
