diff options
author | Bartosz Golaszewski <[email protected]> | 2024-10-09 18:29:09 +0200 |
---|---|---|
committer | Bartosz Golaszewski <[email protected]> | 2024-10-14 10:30:11 +0200 |
commit | 2707a028c9b9c54a6dff22c9dcfebf3083ea095e (patch) | |
tree | 0cb8cc6885979bc0edca7961721591220fdcb842 /tools/perf/scripts/python/intel-pt-events.py | |
parent | 1b35c124f961b355dafb1906c591191bd0b37417 (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/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions