diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2018-03-06 01:21:31 +0100 |
---|---|---|
committer | Santosh Shilimkar <santosh.shilimkar@oracle.com> | 2018-03-06 01:21:31 +0100 |
commit | a817e5d82a2dc5daaa0a8a66cfab268fdf2f6bb6 (patch) | |
tree | efb5822134601ed182ca125339ce495b83e6e2a2 /drivers/memory | |
parent | memory-EMIF: Use seq_putc() in emif_regdump_show() (diff) | |
download | linux-a817e5d82a2dc5daaa0a8a66cfab268fdf2f6bb6.tar.xz linux-a817e5d82a2dc5daaa0a8a66cfab268fdf2f6bb6.zip |
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>
Diffstat (limited to 'drivers/memory')
-rw-r--r-- | drivers/memory/ti-emif-pm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/memory/ti-emif-pm.c b/drivers/memory/ti-emif-pm.c index 62a86c4bcd0b..632651f4b6e8 100644 --- a/drivers/memory/ti-emif-pm.c +++ b/drivers/memory/ti-emif-pm.c @@ -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; } |