diff options
author | 2024-09-30 16:48:03 +0200 | |
---|---|---|
committer | 2024-10-08 10:17:07 +0200 | |
commit | 3cc3af160be758e95c9b4008b3bf06f4a81b653f (patch) | |
tree | acf45110b8599f4d45bfaba4f4b88cf84ac14813 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpio: xilinx: drop dependency on GPIO_OF (diff) | |
download | wireguard-linux-3cc3af160be758e95c9b4008b3bf06f4a81b653f.tar.xz wireguard-linux-3cc3af160be758e95c9b4008b3bf06f4a81b653f.zip |
gpio: xilinx: use helper variable to store the address of pdev->dev
For better readability don't repeatedly dereference pdev->dev but
instead store the address of the embedded struct device in a local
variable in probe().
Acked-by: Michal Simek <michal.simek@amd.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20240930144804.75068-2-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