Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a817e5d8 authored by Wei Yongjun's avatar Wei Yongjun Committed by Santosh Shilimkar
Browse files

memory: ti-emif-sram: remove redundant dev_err call in ti_emif_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 <weiyongjun1@huawei.com>
Signed-off-by: default avatarSantosh Shilimkar <santosh.shilimkar@oracle.com>
parent d363a88b
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -271,7 +271,6 @@ static int ti_emif_probe(struct platform_device *pdev)
	emif_data->pm_data.ti_emif_base_addr_virt = devm_ioremap_resource(dev,
									  res);
	if (IS_ERR(emif_data->pm_data.ti_emif_base_addr_virt)) {
		dev_err(dev, "could not ioremap emif mem\n");
		ret = PTR_ERR(emif_data->pm_data.ti_emif_base_addr_virt);
		return ret;
	}