mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 14:21:47 +00:00
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>
This commit is contained in:
parent
d6fbfdbc12
commit
01c59166b4
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user