genirq: Use for_each_action_of_desc in actions_show()
authorParan Lee <p4ranlee@gmail.com>
Sun, 10 Jul 2022 11:26:14 +0000 (20:26 +0900)
committerMarc Zyngier <maz@kernel.org>
Wed, 20 Jul 2022 14:21:32 +0000 (15:21 +0100)
commitc904cda04482d5ab545e5a82cee6084078ef9543
treedf7f560f266f7d07b53555d4f251f2bd87b55526
parentef50cd57a73a8bbfad403e5e2edb3309611f58ad
genirq: Use for_each_action_of_desc in actions_show()

Refactor action_show() to use for_each_action_of_desc instead
of a similar open-coded loop.

Signed-off-by: Paran Lee <p4ranlee@gmail.com>
[maz: reword commit message]
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220710112614.19410-1-p4ranlee@gmail.com
kernel/irq/irqdesc.c