irqchip/stm32: Make use of the helper function devm_platform_ioremap_resource()
authorCai Huoqing <caihuoqing@baidu.com>
Wed, 8 Sep 2021 10:57:15 +0000 (18:57 +0800)
committerMarc Zyngier <maz@kernel.org>
Tue, 19 Oct 2021 10:24:05 +0000 (11:24 +0100)
commitfd9ac236c2536863800a7c9ecc73d2ea1bdfc128
tree50b27c0d12ba8e984830c210d17f38ba6d966c33
parent2687bf8d0d34e70a986e0303702deac491689a38
irqchip/stm32: Make use of the helper function devm_platform_ioremap_resource()

Use the devm_platform_ioremap_resource() helper instead of
calling platform_get_resource() and devm_ioremap_resource()
separately

Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210908105715.1780-1-caihuoqing@baidu.com
drivers/irqchip/irq-stm32-exti.c