summaryrefslogtreecommitdiffstats
path: root/drivers/pci/host/pci-imx6.c
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-10-12 14:11:02 +0800
committerBjorn Helgaas <bhelgaas@google.com>2013-10-29 13:22:07 -0600
commit9b5cd0948b67e1750498b5ff85267e87d3b4c5b3 (patch)
tree06807bf10e18f769fc28431a2547b51583a5f529 /drivers/pci/host/pci-imx6.c
parentbb38919ec56e0758c3ae56dfc091dcde1391353e (diff)
downloadlinux-9b5cd0948b67e1750498b5ff85267e87d3b4c5b3.tar.gz
linux-9b5cd0948b67e1750498b5ff85267e87d3b4c5b3.tar.bz2
linux-9b5cd0948b67e1750498b5ff85267e87d3b4c5b3.zip
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: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Jingoo Han <jg1.han@samsung.com> Acked-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'drivers/pci/host/pci-imx6.c')
-rw-r--r--drivers/pci/host/pci-imx6.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/host/pci-imx6.c b/drivers/pci/host/pci-imx6.c
index 5afa9226a080..51338ac5775d 100644
--- a/drivers/pci/host/pci-imx6.c
+++ b/drivers/pci/host/pci-imx6.c
@@ -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;
}