]> git.baikalelectronics.ru Git - kernel.git/commit
irq: mips: simplify bcm6345_l1_irq_handle()
authorMark Rutland <mark.rutland@arm.com>
Fri, 22 Oct 2021 14:27:06 +0000 (15:27 +0100)
committerMark Rutland <mark.rutland@arm.com>
Mon, 25 Oct 2021 09:04:53 +0000 (10:04 +0100)
commitcc2a10a683d8c923a61763115d148423b76eedf1
tree57c6fe12e45e367369504555f6283166caf83fa5
parent68585699de99450adc305fd0623721706bb9fbbb
irq: mips: simplify bcm6345_l1_irq_handle()

As bcm6345_l1_irq_handle() only needs to know /whether/ an IRQ was
resolved, and doesn't need to know the specific IRQ, it's simpler for it
to call generic_handle_domain_irq() directly and check the return code,
so let's do that.

There should be no functional change as a result of this patch.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Suggested-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
drivers/irqchip/irq-bcm6345-l1.c