projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6fbfdb
)
mailbox: bcm2835: Remove redundant dev_err call in bcm2835_mbox_probe()
author
Zhihao Cheng
<chengzhihao1@huawei.com>
Tue, 1 Jun 2021 08:24:54 +0000
(16:24 +0800)
committer
Jassi Brar
<jaswinder.singh@linaro.org>
Sat, 26 Jun 2021 16:40:32 +0000
(11:40 -0500)
There is a error message within devm_ioremap_resource
already, so remove the dev_err call to avoid redundant
error message.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/bcm2835-mailbox.c
patch
|
blob
|
history
diff --git
a/drivers/mailbox/bcm2835-mailbox.c
b/drivers/mailbox/bcm2835-mailbox.c
index
39761d1
..
86b7ce3
100644
(file)
--- a/
drivers/mailbox/bcm2835-mailbox.c
+++ b/
drivers/mailbox/bcm2835-mailbox.c
@@
-157,7
+157,6
@@
static int bcm2835_mbox_probe(struct platform_device *pdev)
mbox->regs = devm_ioremap_resource(&pdev->dev, iomem);
if (IS_ERR(mbox->regs)) {
ret = PTR_ERR(mbox->regs);
- dev_err(&pdev->dev, "Failed to remap mailbox regs: %d\n", ret);
return ret;
}