aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/cppc_acpi.c
diff options
context:
space:
mode:
authorAntonio Borneo <[email protected]>2022-06-06 16:27:57 +0000
committerMarc Zyngier <[email protected]>2022-07-07 08:07:44 +0000
commitc297493336b7bc0c12ced484a9e61d04ec2d9403 (patch)
tree4d723d8e03a6d008df3fcf9d824a86420b9cbb05 /drivers/acpi/cppc_acpi.c
parentirqchip/stm32-exti: Read event trigger type from event_trg register (diff)
downloadkernel-c297493336b7bc0c12ced484a9e61d04ec2d9403.tar.gz
kernel-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 <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions