diff mbox series

[v3,5/9] phy: phy-mtk-tphy: remove error log of ioremap failure

Message ID 1629191987-20774-5-git-send-email-chunfeng.yun@mediatek.com
State Accepted
Commit 1c6de3fc53ca14d3266d219e2ee62b8e5b1e2a6f
Headers show
Series [v3,1/9] dt-bindings: phy: mediatek: tphy: support type switch by pericfg | expand

Commit Message

Chunfeng Yun Aug. 17, 2021, 9:19 a.m. UTC
devm_ioremap_resource() will print log if error happens.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
---
v2~3: no changes
---
 drivers/phy/mediatek/phy-mtk-tphy.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/phy/mediatek/phy-mtk-tphy.c b/drivers/phy/mediatek/phy-mtk-tphy.c
index 9d4b34298137..cdcef865fe9e 100644
--- a/drivers/phy/mediatek/phy-mtk-tphy.c
+++ b/drivers/phy/mediatek/phy-mtk-tphy.c
@@ -1306,7 +1306,6 @@  static int mtk_tphy_probe(struct platform_device *pdev)
 
 		instance->port_base = devm_ioremap_resource(subdev, &res);
 		if (IS_ERR(instance->port_base)) {
-			dev_err(subdev, "failed to remap phy regs\n");
 			retval = PTR_ERR(instance->port_base);
 			goto put_child;
 		}