]> git.ipfire.org Git - thirdparty/linux.git/commit
genirq/chip: Rework irq_set_chip()
authorThomas Gleixner <tglx@linutronix.de>
Tue, 29 Apr 2025 06:55:19 +0000 (08:55 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 7 May 2025 07:08:13 +0000 (09:08 +0200)
commit46ff4d11f081ef9bc3df3d56f54a10e955dba733
tree012109f2cb943b757e82a998b520fd449d022567
parente7c654255791e9a95b62b992ef3540dfee00e8d5
genirq/chip: Rework irq_set_chip()

Use the new guards to get and lock the interrupt descriptor and tidy up the
code.

Fixup the kernel doc comment while at it.

No functional change.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/all/20250429065421.295400891@linutronix.de
kernel/irq/chip.c