Skip to content
Snippets Groups Projects
Commit 6fae3900 authored by Wei Yongjun's avatar Wei Yongjun Committed by James Bottomley
Browse files

[SCSI] ufshcd-pltfrm: remove redundant dev_err call in ufshcd_pltfrm_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: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: default avatarSantosh Y <santoshsy@gmail.com>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent cfdf9c91
No related branches found
No related tags found
No related merge requests found
...@@ -145,7 +145,6 @@ static int ufshcd_pltfrm_probe(struct platform_device *pdev) ...@@ -145,7 +145,6 @@ static int ufshcd_pltfrm_probe(struct platform_device *pdev)
mmio_base = devm_ioremap_resource(dev, mem_res); mmio_base = devm_ioremap_resource(dev, mem_res);
if (IS_ERR(mmio_base)) { if (IS_ERR(mmio_base)) {
dev_err(dev, "memory map failed\n");
err = PTR_ERR(mmio_base); err = PTR_ERR(mmio_base);
goto out; goto out;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment