diff options
author | 2024-10-09 18:29:09 +0200 | |
---|---|---|
committer | 2024-10-14 10:30:11 +0200 | |
commit | 2707a028c9b9c54a6dff22c9dcfebf3083ea095e (patch) | |
tree | 0cb8cc6885979bc0edca7961721591220fdcb842 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpio: vf610: use generic device_get_match_data() (diff) | |
download | wireguard-linux-2707a028c9b9c54a6dff22c9dcfebf3083ea095e.tar.xz wireguard-linux-2707a028c9b9c54a6dff22c9dcfebf3083ea095e.zip |
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 <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20241009162910.33477-1-brgl@bgdev.pl
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions