mmc: owl-mmc: Remove unnecessary error log
devm_ioremap_resource() has recorded error log, so it's unnecessary to record log again. Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Laibin Qiu <qiulaibin@huawei.com> Reviewed-by: Manivannan Sadhasivam <mani@kernel.org> Link: https://lore.kernel.org/r/20210409023349.3325907-1-qiulaibin@huawei.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
Родитель
87e985aea2
Коммит
489702f450
|
@ -581,7 +581,6 @@ static int owl_mmc_probe(struct platform_device *pdev)
|
||||||
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
|
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
|
||||||
owl_host->base = devm_ioremap_resource(&pdev->dev, res);
|
owl_host->base = devm_ioremap_resource(&pdev->dev, res);
|
||||||
if (IS_ERR(owl_host->base)) {
|
if (IS_ERR(owl_host->base)) {
|
||||||
dev_err(&pdev->dev, "Failed to remap registers\n");
|
|
||||||
ret = PTR_ERR(owl_host->base);
|
ret = PTR_ERR(owl_host->base);
|
||||||
goto err_free_host;
|
goto err_free_host;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче