summaryrefslogtreecommitdiffstats
path: root/drivers/fpga
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/fpga')
-rw-r--r--drivers/fpga/socfpga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/fpga/socfpga.c b/drivers/fpga/socfpga.c
index 706b80d25266..27d2ff28132c 100644
--- a/drivers/fpga/socfpga.c
+++ b/drivers/fpga/socfpga.c
@@ -577,7 +577,7 @@ static int socfpga_fpga_probe(struct platform_device *pdev)
ret = devm_request_irq(dev, priv->irq, socfpga_fpga_isr, 0,
dev_name(dev), priv);
- if (IS_ERR_VALUE(ret))
+ if (ret)
return ret;
return fpga_mgr_register(dev, "Altera SOCFPGA FPGA Manager",