aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorLars-Peter Clausen <[email protected]>2021-10-20 16:21:10 +0200
committerJonathan Cameron <[email protected]>2021-11-17 17:51:33 +0000
commitdc19fa63ad80a636fdbc1a02153d1ab140cb901f (patch)
treee4b4fff5ba940b43128a7e3ef8f89300218e6f27 /tools/perf/scripts/python/flamegraph.py
parentba1287e73182f2521d4fc5c0809620ed06652796 (diff)
iio: ms5611: Simplify IO callback parameters
The ms5611 passes &indio_dev->dev as a parameter to all its IO callbacks only to directly cast the struct device back to struct iio_dev. And the struct iio_dev is then only used to get the drivers state struct. Simplify this a bit by passing the state struct directly. This makes it a bit easier to follow what the code is doing. Signed-off-by: Lars-Peter Clausen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions