瀏覽代碼

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>
weiyongjun (A) 7 年之前
父節點
當前提交
f01c3684cf
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/mmc/host/sdhci-msm.c

+ 0 - 1
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;
 		}