PCI: imx6: Remove redundant dev_err() in imx6_pcie_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Sat, 12 Oct 2013 06:11:02 +0000 (14:11 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 29 Oct 2013 19:22:07 +0000 (13:22 -0600)
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>
drivers/pci/host/pci-imx6.c

index 5afa922..51338ac 100644 (file)
@@ -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;
        }