]> www.infradead.org Git - users/jedix/linux-maple.git/commit
serial: amba-pl011: Switch to irq_get_nr_irqs()
authorBart Van Assche <bvanassche@acm.org>
Tue, 15 Oct 2024 19:09:46 +0000 (12:09 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 16 Oct 2024 19:56:58 +0000 (21:56 +0200)
commitd1a9a2f4ca62c35cc0ffab653241ef686a6a7526
treee570561fb70df4396ade56e454f5ca916c2b3448
parent3905fb8738ca3474982a4d230e9493a409837388
serial: amba-pl011: Switch to irq_get_nr_irqs()

Use the irq_get_nr_irqs() function instead of the global variable
'nr_irqs'. Prepare for changing 'nr_irqs' from an exported global
variable into a variable with file scope.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20241015190953.1266194-16-bvanassche@acm.org
drivers/tty/serial/amba-pl011.c