media: coda: remove redundant platform_get_irq error message
Both platform_get_irq_byname() and platform_get_irq() already print an error. Remove the redundant error message. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
96f6f62c46
commit
afddf553ea
|
@ -3003,10 +3003,8 @@ static int coda_probe(struct platform_device *pdev)
|
|||
irq = platform_get_irq_byname(pdev, "bit");
|
||||
if (irq < 0)
|
||||
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_irq(&pdev->dev, irq, coda_irq_handler, 0,
|
||||
dev_name(&pdev->dev), dev);
|
||||
|
|
Loading…
Reference in New Issue