Skip to content

Commit

Permalink
mmc: sdhci-msm: Remove redundant dev_err call in sdhci_msm_probe()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
weiyongjun (A) authored and Ulf Hansson committed Jul 16, 2018
1 parent 2061594 commit f01c368
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/mmc/host/sdhci-msm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit f01c368

Please sign in to comment.