irqchip: intc-irqpin: Make use of devm functions
authorMagnus Damm <damm@opensource.se>
Tue, 26 Feb 2013 11:59:13 +0000 (20:59 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 18 Mar 2013 12:26:06 +0000 (21:26 +0900)
commit08eba5ba4f321c4b1806ecad0e626904f89263a1
treed0f70d249f7e5c6b05534017ca9129f67b1f18de
parentd1b6aecde4ab146d115abcaf3bb1940d8e980b5a
irqchip: intc-irqpin: Make use of devm functions

Use devm_kzalloc(), devm_ioremap_nocache()
and devm_request_irq() to simplify error
handling.

Signed-off-by: Magnus Damm <damm@opensource.se>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/irqchip/irq-renesas-intc-irqpin.c