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: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
This commit is contained in:
parent
d363a88b31
commit
a817e5d82a
|
@ -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,
|
emif_data->pm_data.ti_emif_base_addr_virt = devm_ioremap_resource(dev,
|
||||||
res);
|
res);
|
||||||
if (IS_ERR(emif_data->pm_data.ti_emif_base_addr_virt)) {
|
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);
|
ret = PTR_ERR(emif_data->pm_data.ti_emif_base_addr_virt);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue