diff options
| author | Lothar Rubusch <l.rubusch@gmail.com> | 2024-04-01 22:49:04 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-04-06 18:18:39 +0300 |
| commit | 196fb733e5e6c4f05e208ad31c4155cd525750e9 (patch) | |
| tree | 245fee94698d4fa6cbf148488acc683a8384dc23 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 41561abc417eb92b38631cb05427fecbfeec19cb (diff) | |
| download | linux-196fb733e5e6c4f05e208ad31c4155cd525750e9.tar.xz | |
iio: accel: adxl345: Reorder probe initialization
Bring indio_dev, setup() and data initialization to begin of the probe()
function to increase readability. Access members through data
pointer to assure implicitely the driver's data instance is correctly
initialized and functional.
Signed-off-by: Lothar Rubusch <l.rubusch@gmail.com>
Link: https://lore.kernel.org/r/20240401194906.56810-7-l.rubusch@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
