mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
pinctrl: keembay: Switch to irq_find_mapping()
irq_linear_revmap() is deprecated, so remove all its uses and supersede them by an identical call to irq_find_mapping(). [ tglx: Fix up subject prefix ] Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/all/20250319092951.37667-48-jirislaby@kernel.org
This commit is contained in:
parent
31b3ad4002
commit
609f900ad6
1 changed files with 1 additions and 1 deletions
|
@ -1268,7 +1268,7 @@ static void keembay_gpio_irq_handler(struct irq_desc *desc)
|
|||
for_each_set_clump8(bit, clump, ®, BITS_PER_TYPE(typeof(reg))) {
|
||||
pin = clump & ~KEEMBAY_GPIO_IRQ_ENABLE;
|
||||
val = keembay_read_pin(kpc->base0 + KEEMBAY_GPIO_DATA_IN, pin);
|
||||
kmb_irq = irq_linear_revmap(gc->irq.domain, pin);
|
||||
kmb_irq = irq_find_mapping(gc->irq.domain, pin);
|
||||
|
||||
/* Checks if the interrupt is enabled */
|
||||
if (val && (clump & KEEMBAY_GPIO_IRQ_ENABLE))
|
||||
|
|
Loading…
Add table
Reference in a new issue