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

sh: 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>
Link: https://lore.kernel.org/all/20250319092951.37667-43-jirislaby@kernel.org



authored by

Jiri Slaby (SUSE) and committed by
Thomas Gleixner
f569ac9c 8035d9f2

+2 -2
+1 -1
arch/sh/boards/mach-se/7343/irq.c
··· 71 71 struct irq_chip_type *ct; 72 72 unsigned int irq_base; 73 73 74 - irq_base = irq_linear_revmap(se7343_irq_domain, 0); 74 + irq_base = irq_find_mapping(se7343_irq_domain, 0); 75 75 76 76 gc = irq_alloc_generic_chip(DRV_NAME, 1, irq_base, se7343_irq_regs, 77 77 handle_level_irq);
+1 -1
arch/sh/boards/mach-se/7722/irq.c
··· 69 69 struct irq_chip_type *ct; 70 70 unsigned int irq_base; 71 71 72 - irq_base = irq_linear_revmap(se7722_irq_domain, 0); 72 + irq_base = irq_find_mapping(se7722_irq_domain, 0); 73 73 74 74 gc = irq_alloc_generic_chip(DRV_NAME, 1, irq_base, se7722_irq_regs, 75 75 handle_level_irq);