Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Laibin Qiu and committed by
Ulf Hansson
489702f4 87e985ae

-1
-1
drivers/mmc/host/owl-mmc.c
··· 581 581 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); 582 582 owl_host->base = devm_ioremap_resource(&pdev->dev, res); 583 583 if (IS_ERR(owl_host->base)) { 584 - dev_err(&pdev->dev, "Failed to remap registers\n"); 585 584 ret = PTR_ERR(owl_host->base); 586 585 goto err_free_host; 587 586 }