diff options
author | Shang XiaoJing | 2022-09-23 18:14:35 +0800 |
---|---|---|
committer | Thierry Reding | 2022-11-17 23:21:36 +0100 |
commit | b6c6bbfc65f53c4d314ea69ff11bad04606e83e4 (patch) | |
tree | b1fba7f075028ab735f0f5203802d4301b92a1b4 /drivers/soc | |
parent | fa9b5246e260925d43c6f9e97deca2ff51465da0 (diff) |
soc/tegra: cbb: Remove redundant dev_err call
devm_ioremap_resource() prints error message in itself. Remove the
dev_err call to avoid redundant error message.
Signed-off-by: Shang XiaoJing <shangxiaojing@huawei.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/soc')
-rw-r--r-- | drivers/soc/tegra/cbb/tegra194-cbb.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/soc/tegra/cbb/tegra194-cbb.c b/drivers/soc/tegra/cbb/tegra194-cbb.c index 2e952c6f7c9e..d4112b683f00 100644 --- a/drivers/soc/tegra/cbb/tegra194-cbb.c +++ b/drivers/soc/tegra/cbb/tegra194-cbb.c @@ -2226,10 +2226,8 @@ static int tegra194_cbb_get_bridges(struct tegra194_cbb *cbb, struct device_node cbb->bridges[i].base = devm_ioremap_resource(cbb->base.dev, &cbb->bridges[i].res); - if (IS_ERR(cbb->bridges[i].base)) { - dev_err(cbb->base.dev, "failed to map AXI2APB range\n"); + if (IS_ERR(cbb->bridges[i].base)) return PTR_ERR(cbb->bridges[i].base); - } } } |