media: bcm2835-unicam: Do not print error when irq not found
[linux-block.git] / drivers / media / platform / broadcom / bcm2835-unicam.c
index 94cd66255b7e5a17aec2d406dd8a7b383d29cfc1..bdcb04d633380089732ec7a75a7c484a9162464f 100644 (file)
@@ -2661,10 +2661,8 @@ static int unicam_probe(struct platform_device *pdev)
        }
 
        ret = platform_get_irq(pdev, 0);
-       if (ret < 0) {
-               dev_err(&pdev->dev, "No IRQ resource\n");
+       if (ret < 0)
                goto err_unicam_put;
-       }
 
        ret = devm_request_irq(&pdev->dev, ret, unicam_isr, 0,
                               "unicam_capture0", unicam);