From: Shang XiaoJing Date: Fri, 23 Sep 2022 10:20:07 +0000 (+0800) Subject: fbdev: imxfb: Remove redundant dev_err() call X-Git-Tag: v6.1-rc5~204^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d13189badcb2d850244034eb73faeb61edce914e;p=platform%2Fkernel%2Flinux-starfive.git fbdev: imxfb: Remove redundant dev_err() call devm_ioremap_resource() prints error message in itself. Remove the dev_err call to avoid redundant error message. Signed-off-by: Shang XiaoJing Signed-off-by: Helge Deller --- diff --git a/drivers/video/fbdev/imxfb.c b/drivers/video/fbdev/imxfb.c index 94f3bc6..51fde1b 100644 --- a/drivers/video/fbdev/imxfb.c +++ b/drivers/video/fbdev/imxfb.c @@ -972,7 +972,6 @@ static int imxfb_probe(struct platform_device *pdev) fbi->regs = devm_ioremap_resource(&pdev->dev, res); if (IS_ERR(fbi->regs)) { - dev_err(&pdev->dev, "Cannot map frame buffer registers\n"); ret = PTR_ERR(fbi->regs); goto failed_ioremap; }