irqchip/renesas-irqc: Convert to managed initializations
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 27 May 2019 12:04:12 +0000 (14:04 +0200)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 29 May 2019 09:42:26 +0000 (10:42 +0100)
commit4770533f71de8d1891795d92b55633d82a80f882
tree26938aab0c998130849960f621dda1907e64f27b
parent000e20c510819fa209b4fd37d5038e41f9885e0e
irqchip/renesas-irqc: Convert to managed initializations

Simplify error handling by converting the driver to use managed
allocations and initializations.

Note that platform_get_resource() and ioremap_nocache() are combined in
devm_platform_ioremap_resource().

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-renesas-irqc.c