diff options
author | Zhihao Cheng <chengzhihao1@huawei.com> | 2021-06-01 10:24:54 +0200 |
---|---|---|
committer | Jassi Brar <jaswinder.singh@linaro.org> | 2021-06-26 18:40:32 +0200 |
commit | 01c59166b4a00026b2a5b072b3149d5009a33e7b (patch) | |
tree | ba45f700512c182547a158daa9d4eabdd980289f /drivers | |
parent | mailbox: qcom-ipcc: Fix IPCC mbox channel exhaustion (diff) | |
download | linux-01c59166b4a00026b2a5b072b3149d5009a33e7b.tar.xz linux-01c59166b4a00026b2a5b072b3149d5009a33e7b.zip |
mailbox: bcm2835: Remove redundant dev_err call in bcm2835_mbox_probe()
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mailbox/bcm2835-mailbox.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mailbox/bcm2835-mailbox.c b/drivers/mailbox/bcm2835-mailbox.c index 39761d190545..86b7ce3549c5 100644 --- 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; } |