Skip to content

Commit 609f900

Browse files
Jiri Slaby (SUSE)KAGA-KOKO
authored andcommitted
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
1 parent 31b3ad4 commit 609f900

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pinctrl/pinctrl-keembay.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1268,7 +1268,7 @@ static void keembay_gpio_irq_handler(struct irq_desc *desc)
12681268
for_each_set_clump8(bit, clump, &reg, BITS_PER_TYPE(typeof(reg))) {
12691269
pin = clump & ~KEEMBAY_GPIO_IRQ_ENABLE;
12701270
val = keembay_read_pin(kpc->base0 + KEEMBAY_GPIO_DATA_IN, pin);
1271-
kmb_irq = irq_linear_revmap(gc->irq.domain, pin);
1271+
kmb_irq = irq_find_mapping(gc->irq.domain, pin);
12721272

12731273
/* Checks if the interrupt is enabled */
12741274
if (val && (clump & KEEMBAY_GPIO_IRQ_ENABLE))

0 commit comments

Comments
 (0)