diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2023-04-04 12:43:09 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2023-04-14 12:08:17 +0300 |
commit | c36f8c06ebd0c4feda85b178d927e6e04dbe4c3f (patch) | |
tree | c26fa1c263d4bcdac36ca1e92761b82048c79042 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | cca973a823f1c94313256ab214af0577dcc3a52b (diff) | |
download | linux-c36f8c06ebd0c4feda85b178d927e6e04dbe4c3f.tar.xz |
pinctrl: st: Convert to immutable irq_chip
Convert the driver to immutable irq-chip with a bit of
intuition.
I switched to using irqd_to_hwirq() consistently while we
are at it.
This driver does not use the GPIOCHIP_IRQ_RESOURCE_HELPERS
as it defines its own resource reservations, simply in
order to turn IRQ lines into inputs on initialization.
Also switched the open coded calls to gpiochip_lock_as_irq()
to gpiochip_reqres_irq() so we also get the right module
reference counting.
Cc: Marc Zyngier <maz@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20230403-immutable-irqchips-v1-7-503788a7f6e6@linaro.org
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions