diff options
author | weiyongjun (A) <weiyongjun1@huawei.com> | 2018-07-04 11:35:17 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2018-07-16 12:21:45 +0300 |
commit | f01c3684cf048794dced60297c6fc4b805c6787c (patch) | |
tree | 8896d3ce5be05f64842d94ddeb758d32ff28690f /drivers/mmc | |
parent | 2061594c612c4535b14bcd062a5bcf308bdd2b98 (diff) | |
download | linux-f01c3684cf048794dced60297c6fc4b805c6787c.tar.xz |
mmc: sdhci-msm: Remove redundant dev_err call in sdhci_msm_probe()
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>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/sdhci-msm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c index a0dc3e151a34..3cc8bfee6c18 100644 --- a/drivers/mmc/host/sdhci-msm.c +++ b/drivers/mmc/host/sdhci-msm.c @@ -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; } |