irqchip/st: Use device_get_match_data() to simplify the code
authorye xingchen <ye.xingchen@zte.com.cn>
Thu, 17 Nov 2022 11:16:50 +0000 (19:16 +0800)
committerMarc Zyngier <maz@kernel.org>
Sat, 26 Nov 2022 13:29:42 +0000 (13:29 +0000)
commit4e08a286b1f7a0a32828d6411255296e4ef51fa6
tree4e29ce1dda7e54073d44a5fed55ec453848eefd2
parent9869f37aa4ee2a2e08536529dab4ccda9e23ce0c
irqchip/st: Use device_get_match_data() to simplify the code

Directly get the match data with device_get_match_data().

Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/202211171916504943604@zte.com.cn
drivers/irqchip/irq-st.c