]> www.infradead.org Git - users/jedix/linux-maple.git/commit
irqchip/armada-370-xp: Pass around the driver private structure
authorMarek BehĂșn <kabel@kernel.org>
Wed, 7 Aug 2024 16:40:59 +0000 (18:40 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 8 Aug 2024 15:15:00 +0000 (17:15 +0200)
commit77eef29b642f07f56af28a7126b5666f705ca8d0
tree5cd0d416fb20d84454187dc89a65891991558abe
parentee5d09cf14a10010af163ac98e21aa282de6c4cf
irqchip/armada-370-xp: Pass around the driver private structure

In continuation of converting the driver to modern style, drop the
global pointer to the driver private structure and instead pass it
around the functions and callbacks, wherever possible. (There are 3
cases where it is not possible: mpic_cascaded_starting_cpu() and the
syscore operations mpic_suspend() and mpic_resume()).

Signed-off-by: Marek BehĂșn <kabel@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/irqchip/irq-armada-370-xp.c