]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
genirq/chip: Rework irq_set_irq_type()
authorThomas Gleixner <tglx@linutronix.de>
Tue, 29 Apr 2025 06:55:20 +0000 (08:55 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 7 May 2025 07:08:13 +0000 (09:08 +0200)
commitfa870e0f3551cfff90c7d0261e8f208a83097946
tree61e0dd4e9c80d8b0ef04069a30a67061dba7d421
parent46ff4d11f081ef9bc3df3d56f54a10e955dba733
genirq/chip: Rework irq_set_irq_type()

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.355673840@linutronix.de
kernel/irq/chip.c