irqchip/mvebu-gicp: Fix an IS_ERR() vs NULL check in probe()

ioremap() never returns error pointers, it returns NULL on error. Fix the
check to match.

Fixes: 3c3d7dbab2c7 ("irqchip/mvebu-gicp: Clear pending interrupts on init")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/aKRGcgMeaXm2TMIC@stanley.mountain

authored by Dan Carpenter and committed by Thomas Gleixner c8bb0f00 c2bac680

Changed files
+1 -1
drivers
+1 -1
drivers/irqchip/irq-mvebu-gicp.c
··· 238 } 239 240 base = ioremap(gicp->res->start, resource_size(gicp->res)); 241 - if (IS_ERR(base)) { 242 dev_err(&pdev->dev, "ioremap() failed. Unable to clear pending interrupts.\n"); 243 } else { 244 for (i = 0; i < 64; i++)
··· 238 } 239 240 base = ioremap(gicp->res->start, resource_size(gicp->res)); 241 + if (!base) { 242 dev_err(&pdev->dev, "ioremap() failed. Unable to clear pending interrupts.\n"); 243 } else { 244 for (i = 0; i < 64; i++)