projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0e0706
)
fbdev: imxfb: Remove redundant dev_err() call
author
Shang XiaoJing
<shangxiaojing@huawei.com>
Fri, 23 Sep 2022 10:20:07 +0000
(18:20 +0800)
committer
Helge Deller
<deller@gmx.de>
Sat, 8 Oct 2022 13:20:08 +0000
(15:20 +0200)
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>
drivers/video/fbdev/imxfb.c
patch
|
blob
|
history
diff --git
a/drivers/video/fbdev/imxfb.c
b/drivers/video/fbdev/imxfb.c
index 94f3bc637fc88558b90490a1c32cac1cd78c1120..51fde1b2a7938889d1a6dcfc1a5cd02d0f5863da 100644
(file)
--- 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;
}