mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 13:41:51 +00:00
interconnect: qcom: icc-rpm: 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> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20220924015043.25130-1-shangxiaojing@huawei.com Signed-off-by: Georgi Djakov <djakov@kernel.org>
This commit is contained in:
parent
9abf2313ad
commit
c423f01633
@ -477,11 +477,8 @@ int qnoc_probe(struct platform_device *pdev)
|
||||
}
|
||||
|
||||
mmio = devm_ioremap_resource(dev, res);
|
||||
|
||||
if (IS_ERR(mmio)) {
|
||||
dev_err(dev, "Cannot ioremap interconnect bus resource\n");
|
||||
if (IS_ERR(mmio))
|
||||
return PTR_ERR(mmio);
|
||||
}
|
||||
|
||||
qp->regmap = devm_regmap_init_mmio(dev, mmio, desc->regmap_cfg);
|
||||
if (IS_ERR(qp->regmap)) {
|
||||
|
Loading…
Reference in New Issue
Block a user