irqchip/stm32-exti: Simplify irq description table
authorAntonio Borneo <antonio.borneo@foss.st.com>
Mon, 6 Jun 2022 16:27:57 +0000 (18:27 +0200)
committerMarc Zyngier <maz@kernel.org>
Thu, 7 Jul 2022 08:07:44 +0000 (09:07 +0100)
commitc297493336b7bc0c12ced484a9e61d04ec2d9403
tree4d723d8e03a6d008df3fcf9d824a86420b9cbb05
parentce4ef8f9f2abcf104a5417225cbfe3560e779093
irqchip/stm32-exti: Simplify irq description table

Having removed the event trigger type from struct stm32_desc_irq
makes worthless keep using a struct.

Replace the struct by a single dimension array and use 8 bit type
to reduce the overal memory footprint.
On armv7a this patch reduces by 7% the size of the driver, from
   text    data     bss     dec     hex filename
   6977     424       4    7405    1ced irq-stm32-exti.o
to
   6449     424       4    6877    1add irq-stm32-exti.o

Signed-off-by: Antonio Borneo <antonio.borneo@foss.st.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220606162757.415354-7-antonio.borneo@foss.st.com
drivers/irqchip/irq-stm32-exti.c