diff options
author | Shang XiaoJing <shangxiaojing@huawei.com> | 2022-09-23 18:20:07 +0800 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2022-10-08 15:20:08 +0200 |
commit | d13189badcb2d850244034eb73faeb61edce914e (patch) | |
tree | 52148c116313ef25235ab0748ee95971e7cff60c /drivers/video/fbdev/imxfb.c | |
parent | b0e0706007030d1eb05d25de0359725357fe5be6 (diff) |
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 <shangxiaojing@huawei.com>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/video/fbdev/imxfb.c')
-rw-r--r-- | drivers/video/fbdev/imxfb.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/fbdev/imxfb.c b/drivers/video/fbdev/imxfb.c index 94f3bc637fc8..51fde1b2a793 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; } |