summaryrefslogtreecommitdiffstats
path: root/drivers/irqchip/irq-clps711x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/irqchip/irq-clps711x.c')
-rw-r--r--drivers/irqchip/irq-clps711x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-clps711x.c b/drivers/irqchip/irq-clps711x.c
index eb5eb0cd414d..2223b3f15d68 100644
--- a/drivers/irqchip/irq-clps711x.c
+++ b/drivers/irqchip/irq-clps711x.c
@@ -182,7 +182,7 @@ static int __init _clps711x_intc_init(struct device_node *np,
writel_relaxed(0, clps711x_intc->intmr[2]);
err = irq_alloc_descs(-1, 0, ARRAY_SIZE(clps711x_irqs), numa_node_id());
- if (IS_ERR_VALUE(err))
+ if (err < 0)
goto out_iounmap;
clps711x_intc->ops.map = clps711x_intc_irq_map;
OpenPOWER on IntegriCloud