[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: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Santosh Y <santoshsy@gmail.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
This commit is contained in:
parent
cfdf9c9103
commit
6fae390038
1 changed files with 0 additions and 1 deletions
|
@ -145,7 +145,6 @@ static int ufshcd_pltfrm_probe(struct platform_device *pdev)
|
|||
|
||||
mmio_base = devm_ioremap_resource(dev, mem_res);
|
||||
if (IS_ERR(mmio_base)) {
|
||||
dev_err(dev, "memory map failed\n");
|
||||
err = PTR_ERR(mmio_base);
|
||||
goto out;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue