irqchip/qcom: Fix error handling
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 18 Feb 2017 08:34:34 +0000 (09:34 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 19 Feb 2017 07:17:25 +0000 (08:17 +0100)
commit3900dea4cda7c28d7921370bc4d22b08463ed94c
tree10aac429f40e95fff274cc7a39e5d70a6cfbe9b0
parent5d4bac9a5f4ef24b2482529bda6661a58e5b5b65
irqchip/qcom: Fix error handling

'devm_ioremap()' returns NULL on error, not an error pointer.

Fixes: f20cc9b00c7b ("irqchip/qcom: Add IRQ combiner driver")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Cc: marc.zyngier@arm.com
Cc: kernel-janitors@vger.kernel.org
Cc: jason@lakedaemon.net
Link: http://lkml.kernel.org/r/20170218083434.2289-1-christophe.jaillet@wanadoo.fr
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/irqchip/qcom-irq-combiner.c