提交 6fae3900 编写于 作者: W Wei Yongjun 提交者: James Bottomley

[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: NWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: NSantosh Y <santoshsy@gmail.com>
Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
上级 cfdf9c91
...@@ -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;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册