diff --git a/drivers/media/platform/atmel/atmel-isc.c b/drivers/media/platform/atmel/atmel-isc.c index f0c2512d27f0e04d6fa59b85cbe8938f20a19b27..db6773de92f024ed07c416ea1082a64ca137199b 100644 --- a/drivers/media/platform/atmel/atmel-isc.c +++ b/drivers/media/platform/atmel/atmel-isc.c @@ -1358,7 +1358,7 @@ static int atmel_isc_probe(struct platform_device *pdev) } irq = platform_get_irq(pdev, 0); - if (IS_ERR_VALUE(irq)) { + if (irq < 0) { ret = irq; dev_err(dev, "failed to get irq: %d\n", ret); return ret;