irqchip/mmp: Remove non-DT codepath
authorArnd Bergmann <arnd@arndb.de>
Tue, 16 May 2023 20:05:05 +0000 (22:05 +0200)
committerMarc Zyngier <maz@kernel.org>
Sat, 17 Jun 2023 06:21:02 +0000 (07:21 +0100)
commitf1771b85e3086c9506c3de81e993330bca568ba5
treeb998daa3292d7ed2bacf13766a40bb205a37b2db
parent97bb0f8e847c0ea6bf926c4e3b7633dd6acfabf2
irqchip/mmp: Remove non-DT codepath

Building with "W=1" warns about missing declarations for
two functions in the mmp irqchip driver:

drivers/irqchip/irq-mmp.c:248:13: error: no previous prototype for 'icu_init_irq'
drivers/irqchip/irq-mmp.c:271:13: error: no previous prototype for 'mmp2_init_icu'

The declarations are present in an unused header, but since there is no
caller, it's best to just remove the functions and the header completely,
making the driver DT-only to match the state of the platform.

Fixes: 77acc85ce797 ("ARM: mmp: remove device definitions")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230516200516.554663-2-arnd@kernel.org
drivers/irqchip/irq-mmp.c
include/linux/irqchip/mmp.h [deleted file]