Skip to content

Commit c423f01

Browse files
Shang XiaoJingGeorgi Djakov
authored andcommitted
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 <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Georgi Djakov <[email protected]>
1 parent 9abf231 commit c423f01

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

drivers/interconnect/qcom/icc-rpm.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -477,11 +477,8 @@ int qnoc_probe(struct platform_device *pdev)
477477
}
478478

479479
mmio = devm_ioremap_resource(dev, res);
480-
481-
if (IS_ERR(mmio)) {
482-
dev_err(dev, "Cannot ioremap interconnect bus resource\n");
480+
if (IS_ERR(mmio))
483481
return PTR_ERR(mmio);
484-
}
485482

486483
qp->regmap = devm_regmap_init_mmio(dev, mmio, desc->regmap_cfg);
487484
if (IS_ERR(qp->regmap)) {

0 commit comments

Comments
 (0)