diff options
author | Antonio Borneo <antonio.borneo@foss.st.com> | 2022-06-06 18:27:57 +0200 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-07-07 09:07:44 +0100 |
commit | c297493336b7bc0c12ced484a9e61d04ec2d9403 (patch) | |
tree | 4d723d8e03a6d008df3fcf9d824a86420b9cbb05 /drivers/md/dm-ioctl.c | |
parent | ce4ef8f9f2abcf104a5417225cbfe3560e779093 (diff) | |
download | linux-stable-c297493336b7bc0c12ced484a9e61d04ec2d9403.tar.gz linux-stable-c297493336b7bc0c12ced484a9e61d04ec2d9403.tar.bz2 linux-stable-c297493336b7bc0c12ced484a9e61d04ec2d9403.zip |
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
Diffstat (limited to 'drivers/md/dm-ioctl.c')
0 files changed, 0 insertions, 0 deletions