Commit 50eae6ba authored by Laibin Qiu's avatar Laibin Qiu Committed by Ulf Hansson
Browse files

mmc: sdhci-st: Remove unnecessary error log



devm_ioremap_resource() has recorded error log, so it's
unnecessary to record log again.

Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarLaibin Qiu <qiulaibin@huawei.com>
Reviewed-by: default avatarPatrice Chotard <patrice.chotard@foss.st.com>
Link: https://lore.kernel.org/r/20210409023801.3326572-1-qiulaibin@huawei.com


Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent ffa4877c
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -400,10 +400,8 @@ static int sdhci_st_probe(struct platform_device *pdev)
	res = platform_get_resource_byname(pdev, IORESOURCE_MEM,
					   "top-mmc-delay");
	pdata->top_ioaddr = devm_ioremap_resource(&pdev->dev, res);
	if (IS_ERR(pdata->top_ioaddr)) {
		dev_warn(&pdev->dev, "FlashSS Top Dly registers not available");
	if (IS_ERR(pdata->top_ioaddr))
		pdata->top_ioaddr = NULL;
	}

	pltfm_host->clk = clk;
	pdata->icnclk = icnclk;