diff options
author | 2020-02-12 10:02:00 +0100 | |
---|---|---|
committer | 2020-02-21 13:57:44 +0100 | |
commit | 6793baa31d684f2cace0e2ee4af4bdbc993dbed8 (patch) | |
tree | 7e82bbbef6a0b04a09f017cf58fb822021db5fac /tools/perf/scripts/python/export-to-postgresql.py | |
parent | pinctrl: sh-pfc: checker: Add function GPIO checks (diff) | |
download | linux-dev-6793baa31d684f2cace0e2ee4af4bdbc993dbed8.tar.xz linux-dev-6793baa31d684f2cace0e2ee4af4bdbc993dbed8.zip |
pinctrl: sh-pfc: gpio: Return early in gpio_pin_to_irq()
As of commit 4adeabd042422cee ("pinctrl: sh-pfc: Remove hardcoded IRQ
numbers"), only a single operation needs to be performed after finding
the wanted pin. Hence decrease the needed attention span of the casual
reader by replacing the goto by a direct return.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Link: https://lore.kernel.org/r/20200212090200.11106-1-geert+renesas@glider.be
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions