irqchip/irq-mvebu-sei: Fix a NULL vs IS_ERR() bug in probe function
commit3424243e39e8ec138486926949e3668e7553125d
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 13 Oct 2018 10:22:46 +0000 (13 13:22 +0300)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 1 Nov 2018 11:38:48 +0000 (1 12:38 +0100)
tree0c435c45e46dc74abf59017e1e9e08fe8075835d
parent57f01796f14fecf00d330fe39c8d2477ced9cd79
irqchip/irq-mvebu-sei: Fix a NULL vs IS_ERR() bug in probe function

The devm_ioremap_resource() function never returns NULL, it returns
error pointers.

Fixes: 61ce8d8d8a81 ("irqchip/irq-mvebu-sei: Add new driver for Marvell SEI")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Gregory Clement <gregory.clement@bootlin.com>
Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: kernel-janitors@vger.kernel.org
Link: https://lkml.kernel.org/r/20181013102246.GD16086@mwanda
drivers/irqchip/irq-mvebu-sei.c