forked from Minki/linux
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: Tamseel Shams <m.shams@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
This commit is contained in:
parent
687a0ed337
commit
aee83fbdbf
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user