aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorBartosz Golaszewski <[email protected]>2024-10-09 18:29:09 +0200
committerBartosz Golaszewski <[email protected]>2024-10-14 10:30:11 +0200
commit2707a028c9b9c54a6dff22c9dcfebf3083ea095e (patch)
tree0cb8cc6885979bc0edca7961721591220fdcb842 /tools/perf/scripts/python/parallel-perf.py
parent1b35c124f961b355dafb1906c591191bd0b37417 (diff)
gpio: mpc8xxx: use a helper variable to store the address of pdev->dev
Instead of repeatedly dereferencing pdev, just store the address of the embedded struct device in a local variable and use it instead for improved readability. While at it: rearrange variable declarations. Reviewed-by: Linus Walleij <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions