mmc: sdhci-msm: Remove redundant dev_err call in sdhci_msm_probe()
authorweiyongjun (A) <weiyongjun1@huawei.com>
Wed, 4 Jul 2018 08:35:17 +0000 (08:35 +0000)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 16 Jul 2018 09:21:45 +0000 (11:21 +0200)
There is a error message within devm_ioremap_resource
already, so remove the dev_err call to avoid redundant
error message.

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-msm.c

index a0dc3e151a34b75740fd957f4536d00a74997f29..3cc8bfee6c18f9a39da058748daf37d260571b51 100644 (file)
@@ -1764,7 +1764,6 @@ static int sdhci_msm_probe(struct platform_device *pdev)
                                core_memres);
 
                if (IS_ERR(msm_host->core_mem)) {
-                       dev_err(&pdev->dev, "Failed to remap registers\n");
                        ret = PTR_ERR(msm_host->core_mem);
                        goto clk_disable;
                }