diff options
author | Linus Walleij <[email protected]> | 2023-04-04 11:43:11 +0200 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2023-04-14 11:08:17 +0200 |
commit | df60325839efcc0fa37f5ec64c0e29f5d84e56c8 (patch) | |
tree | 06ad1b48e9530bb5977f871c0ee8656ff170512c /lib/mpi/mpi-mod.c | |
parent | 7341944c78d544d4f96cfee3c2d56ceec94d83a4 (diff) |
pinctrl: sx150x: Convert to immutable irq_chip
Convert the driver to immutable irq-chip with a bit of
intuition.
I switched to consistently using irqd_to_hwirq() consistently
while we are at it.
As the driver now needs to get the gpio_chip in the .irq_mask
and .irq_unmask callbacks, I switched to a pattern where we
first fetch the gpio_chip and then the state container from
that in two steps. The compiler will do the same thing anyway.
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