diff options
| author | Andy Shevchenko <[email protected]> | 2020-08-31 12:08:08 +0300 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2020-09-03 19:40:59 +0100 |
| commit | 700e63dadacdb7eee04650b6e8c66824d585aaf3 (patch) | |
| tree | 1874159b7530ed0d94191d322e6dc08190db6cdf /tools/perf/scripts/python | |
| parent | 938d1b3873fc2ceee4569042852e54d9deeb9ec1 (diff) | |
iio: accel: bma220: Use dev_get_drvdata() directly
Instead of using to_spi_dev() + spi_get_drvdata(),
use dev_get_drvdata() to make code simpler.
Signed-off-by: Andy Shevchenko <[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