aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorLinus Walleij <[email protected]>2023-04-04 11:43:09 +0200
committerLinus Walleij <[email protected]>2023-04-14 11:08:17 +0200
commitc36f8c06ebd0c4feda85b178d927e6e04dbe4c3f (patch)
treec26fa1c263d4bcdac36ca1e92761b82048c79042 /lib/mpi/mpi-mod.c
parentcca973a823f1c94313256ab214af0577dcc3a52b (diff)
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 <[email protected]> Signed-off-by: Linus Walleij <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions