hw/arm/exynos4210: Drop Exynos4210Irq struct
commitf37fc537fc1f129ca94ec5e29f4c98f3724d7929
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 4 Apr 2022 15:46:58 +0000 (4 16:46 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 21 Apr 2022 10:37:04 +0000 (21 11:37 +0100)
tree06b6f6b21786e2abda88dca25053c9bf88ff62a0
parentcebef07df5c0cfb284f7e5e69cde1ae509fb6ada
hw/arm/exynos4210: Drop Exynos4210Irq struct

The only time we use the int_combiner_irq[] and ext_combiner_irq[]
arrays in the Exynos4210Irq struct is during realize of the SoC -- we
initialize them with the input IRQs of the combiner devices, and then
connect those to outputs of other devices in
exynos4210_init_board_irqs().  Now that the combiner objects are
easily accessible as s->int_combiner and s->ext_combiner we can make
the connections directly from one device to the other without going
via these arrays.

Since these are the only two remaining elements of Exynos4210Irq,
we can remove that struct entirely.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220404154658.565020-19-peter.maydell@linaro.org
hw/arm/exynos4210.c
include/hw/arm/exynos4210.h