genirq/generic-chip: Fix the irq_chip name for /proc/interrupts
authorKeguang Zhang <keguang.zhang@gmail.com>
Mon, 25 Sep 2023 12:17:34 +0000 (20:17 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 13 Oct 2023 10:25:31 +0000 (12:25 +0200)
commit021a8ca2ba23c01487a98ad23b68ac062e14cf32
tree64c7f3961953fb6f103912bc6f89d5a5cb42bd99
parent6260ecd04594360ae2af104fb2641317728a66e4
genirq/generic-chip: Fix the irq_chip name for /proc/interrupts

irq_init_generic_chip() only sets the name for the first chip type, which
leads to empty names for other chip types.  Eventually, these names will be
shown as "-" /proc/interrupts.

Set the name for all chip types by default.

Signed-off-by: Keguang Zhang <keguang.zhang@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20230925121734.93017-1-keguang.zhang@gmail.com
kernel/irq/generic-chip.c