diff options
author | Antonio Borneo <antonio.borneo@foss.st.com> | 2022-06-06 18:27:56 +0200 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-07-07 09:07:44 +0100 |
commit | ce4ef8f9f2abcf104a5417225cbfe3560e779093 (patch) | |
tree | dc4da3a6908b9b3c2bf6b0ee4a5cf6b5a0dab147 /COPYING | |
parent | b38040f0167d25092e813c8d1a70cf2708c1720b (diff) | |
download | linux-stable-ce4ef8f9f2abcf104a5417225cbfe3560e779093.tar.gz linux-stable-ce4ef8f9f2abcf104a5417225cbfe3560e779093.tar.bz2 linux-stable-ce4ef8f9f2abcf104a5417225cbfe3560e779093.zip |
irqchip/stm32-exti: Read event trigger type from event_trg register
The flag reporting whether an event is 'direct' or 'configurable'
is available in the read-only registers EVENT_TRG.
Drop this redundant information from the struct stm32_desc_irq and
use the proper bit from EVENT_TRG register.
On armv7a this patch reduces by 3% the size of the driver, from
text data bss dec hex filename
7233 424 4 7661 1ded irq-stm32-exti.o
to
6977 424 4 7405 1ced 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-6-antonio.borneo@foss.st.com
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions