interconnect: qcom: icc-rpm: Remove redundant dev_err call
Subsystems (2)
PATCH v2 1/1 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]>
---
changes in v2:
- delete the empty line
--- drivers/interconnect/qcom/icc-rpm.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
drivers/interconnect/qcom/icc-rpm.c +1 -4
@@ -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)) {
Signature · 1 line
2.17.1
Quoted 4 lines · Shang XiaoJing
devm_ioremap_resource()prints error message in itself. Remove thedev_errcall to avoid redundant error message.Signed-off-by Shang XiaoJing <[email protected]>
Reviewed-by Krzysztof Kozlowski <[email protected]>
Best regards,
Krzysztof