提交 9b5cd094 编写于 作者: W Wei Yongjun 提交者: Bjorn Helgaas

PCI: imx6: Remove redundant dev_err() in imx6_pcie_probe()

There is an error message within devm_ioremap_resource()
already, so remove the dev_err() call to avoid redundant
error message.
Signed-off-by: NWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
Reviewed-by: NJingoo Han <jg1.han@samsung.com>
Acked-by: NShawn Guo <shawn.guo@linaro.org>
上级 bb38919e
......@@ -439,7 +439,6 @@ static int __init imx6_pcie_probe(struct platform_device *pdev)
pp->dbi_base = devm_ioremap_resource(&pdev->dev, dbi_base);
if (IS_ERR(pp->dbi_base)) {
dev_err(&pdev->dev, "unable to remap dbi_base\n");
ret = PTR_ERR(pp->dbi_base);
goto err;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册