Commit a99509ba authored by ye xingchen's avatar ye xingchen Committed by Tomi Valkeinen

drm/omap: dmm_tiler:Remove the print function dev_err()

From the coccinelle check:

./drivers/gpu/drm/omapdrm/omap_dmm_tiler.c
Error:line 817 is redundant because platform_get_irq() already prints an
error

So,remove the unnecessary print function dev_err()
Reported-by: default avatarZeal Robot <zealci@zte.com.cn>
Signed-off-by: default avatarye xingchen <ye.xingchen@zte.com.cn>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220810062738.13554-1-ye.xingchen@zte.com.cn
parent 8b42057e
...@@ -813,10 +813,8 @@ static int omap_dmm_probe(struct platform_device *dev) ...@@ -813,10 +813,8 @@ static int omap_dmm_probe(struct platform_device *dev)
} }
omap_dmm->irq = platform_get_irq(dev, 0); omap_dmm->irq = platform_get_irq(dev, 0);
if (omap_dmm->irq < 0) { if (omap_dmm->irq < 0)
dev_err(&dev->dev, "failed to get IRQ resource\n");
goto fail; goto fail;
}
omap_dmm->dev = &dev->dev; omap_dmm->dev = &dev->dev;
......
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