diff options
author | 2025-04-16 12:55:15 +0300 | |
---|---|---|
committer | 2025-04-17 15:22:06 +0200 | |
commit | 7cc868831b98eb10e8ae50a8e5a9f04674d1a2ab (patch) | |
tree | 3ea6ee8d606bb244be5f21ee65f8cf2269c333e4 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | gpiolib: Call validate_desc() when VALIDATE_DESC() can't be used (diff) | |
download | wireguard-linux-7cc868831b98eb10e8ae50a8e5a9f04674d1a2ab.tar.xz wireguard-linux-7cc868831b98eb10e8ae50a8e5a9f04674d1a2ab.zip |
gpiolib: Reuse return variable in gpiod_to_irq()
There are two variables for the same used in the gpiod_to_irq().
Replace the second by reusing the function top-level one.
While at it, refactor the branch to have less lines of code.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20250416095645.2027695-8-andriy.shevchenko@linux.intel.com
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions