genirq/chip: Rework irq_set_chip_data()
authorThomas Gleixner <tglx@linutronix.de>
Tue, 29 Apr 2025 06:55:25 +0000 (08:55 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 7 May 2025 07:08:14 +0000 (09:08 +0200)
commitb3801ddc6883169a2e020dbf06da3723446808ee
treedb7638217b193066eeb54dfb5b97491bac70e604
parentc836e5a70c59a361559d57ad02ececa40d160cb9
genirq/chip: Rework irq_set_chip_data()

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