aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorLothar Rubusch <l.rubusch@gmail.com>2024-04-01 19:49:04 +0000
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-04-06 16:18:39 +0100
commit196fb733e5e6c4f05e208ad31c4155cd525750e9 (patch)
tree245fee94698d4fa6cbf148488acc683a8384dc23 /tools/perf/scripts/python/stackcollapse.py
parentiio: accel: adxl345: Pass function pointer to core (diff)
downloadlinux-196fb733e5e6c4f05e208ad31c4155cd525750e9.tar.gz
linux-196fb733e5e6c4f05e208ad31c4155cd525750e9.zip
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions