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

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1498,7 +1498,6 @@ static int g2d_probe(struct platform_device *pdev)

	g2d->irq = platform_get_irq(pdev, 0);
	if (g2d->irq < 0) {
		dev_err(dev, "failed to get irq\n");
		ret = g2d->irq;
		goto err_put_clk;
	}