OSDN Git Service

irqchip/mvebu-pic: Switch to dynamic chip name output
authorMarc Zyngier <maz@kernel.org>
Wed, 9 Feb 2022 16:26:02 +0000 (16:26 +0000)
committerMarc Zyngier <maz@kernel.org>
Tue, 15 Feb 2022 11:25:46 +0000 (11:25 +0000)
commit421f16238a9da88ce1f2e3a103866de095cc15f6
tree5b1eb2d9de99d5d6f7041911d766d1650e503ee9
parent365550239f87342e3d29802fce0f5e9a044e8070
irqchip/mvebu-pic: Switch to dynamic chip name output

Instead of overriding the name field, track the corresponding device
and use the relevant callback to output its name.

This allows us to make the irq_chip structure const.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20220209162607.1118325-6-maz@kernel.org
drivers/irqchip/irq-mvebu-pic.c