Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Wei Yongjun and committed by
Santosh Shilimkar
a817e5d8 d363a88b

-1
-1
drivers/memory/ti-emif-pm.c
··· 271 271 emif_data->pm_data.ti_emif_base_addr_virt = devm_ioremap_resource(dev, 272 272 res); 273 273 if (IS_ERR(emif_data->pm_data.ti_emif_base_addr_virt)) { 274 - dev_err(dev, "could not ioremap emif mem\n"); 275 274 ret = PTR_ERR(emif_data->pm_data.ti_emif_base_addr_virt); 276 275 return ret; 277 276 }