Skip to content

Commit 30b6692

Browse files
Jiri Slaby (SUSE)KAGA-KOKO
authored andcommitted
gpio: idt3243x: 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-44-jirislaby@kernel.org
1 parent f569ac9 commit 30b6692

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpio/gpio-idt3243x.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ static void idt_gpio_dispatch(struct irq_desc *desc)
3737
pending = readl(ctrl->pic + IDT_PIC_IRQ_PEND);
3838
pending &= ~ctrl->mask_cache;
3939
for_each_set_bit(bit, &pending, gc->ngpio) {
40-
virq = irq_linear_revmap(gc->irq.domain, bit);
40+
virq = irq_find_mapping(gc->irq.domain, bit);
4141
if (virq)
4242
generic_handle_irq(virq);
4343
}

0 commit comments

Comments
 (0)