Commit aee83fbd authored by Tamseel Shams's avatar Tamseel Shams Committed by Inki Dae

drm/exynos: Remove dev_err() on platform_get_irq() failure

platform_get_irq() will call dev_err() itself on failure,
so there is no need for the driver to also do this.
This is detected by coccinelle.
Signed-off-by: default avatarTamseel Shams <m.shams@samsung.com>
Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
parent 687a0ed3
...@@ -1498,7 +1498,6 @@ static int g2d_probe(struct platform_device *pdev) ...@@ -1498,7 +1498,6 @@ static int g2d_probe(struct platform_device *pdev)
g2d->irq = platform_get_irq(pdev, 0); g2d->irq = platform_get_irq(pdev, 0);
if (g2d->irq < 0) { if (g2d->irq < 0) {
dev_err(dev, "failed to get irq\n");
ret = g2d->irq; ret = g2d->irq;
goto err_put_clk; goto err_put_clk;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment