[SCSI] ufshcd-pltfrm: remove redundant dev_err call in ufshcd_pltfrm_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 29 Jul 2013 19:06:04 +0000 (00:36 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 26 Aug 2013 08:51:29 +0000 (12:51 +0400)
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>
drivers/scsi/ufs/ufshcd-pltfrm.c

index 8b4a27fdbb3ef45406c76c1ca1a0812b357e00fc..880d19fe2b06a91d31692fe5cb1f9f93f37e7854 100644 (file)
@@ -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;
        }