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) <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Link: https://lore.kernel.org/all/[email protected]
1 parent f569ac9 commit 30b6692

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)