Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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



authored by

Jiri Slaby (SUSE) and committed by
Thomas Gleixner
30b6692c f569ac9c

+1 -1
+1 -1
drivers/gpio/gpio-idt3243x.c
··· 37 37 pending = readl(ctrl->pic + IDT_PIC_IRQ_PEND); 38 38 pending &= ~ctrl->mask_cache; 39 39 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); 41 41 if (virq) 42 42 generic_handle_irq(virq); 43 43 }