aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/media/allegro-dvt
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/media/allegro-dvt')
-rw-r--r--drivers/staging/media/allegro-dvt/allegro-core.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/staging/media/allegro-dvt/allegro-core.c b/drivers/staging/media/allegro-dvt/allegro-core.c
index f050c7347fd5..6f0cd0784786 100644
--- a/drivers/staging/media/allegro-dvt/allegro-core.c
+++ b/drivers/staging/media/allegro-dvt/allegro-core.c
@@ -2947,10 +2947,8 @@ static int allegro_probe(struct platform_device *pdev)
}
irq = platform_get_irq(pdev, 0);
- if (irq < 0) {
- dev_err(&pdev->dev, "failed to get irq resource\n");
+ if (irq < 0)
return irq;
- }
ret = devm_request_threaded_irq(&pdev->dev, irq,
allegro_hardirq,
allegro_irq_thread,

Privacy Policy