summaryrefslogtreecommitdiffstats
path: root/drivers/phy
diff options
context:
space:
mode:
authorChunfeng Yun <chunfeng.yun@mediatek.com>2021-08-17 11:19:43 +0200
committerVinod Koul <vkoul@kernel.org>2021-08-17 12:21:59 +0200
commit1c6de3fc53ca14d3266d219e2ee62b8e5b1e2a6f (patch)
tree60c4afe35c81b864644b7477c000bbfbdd589c91 /drivers/phy
parentphy: phy-mtk-tphy: print error log using child device (diff)
downloadlinux-1c6de3fc53ca14d3266d219e2ee62b8e5b1e2a6f.tar.xz
linux-1c6de3fc53ca14d3266d219e2ee62b8e5b1e2a6f.zip
phy: phy-mtk-tphy: remove error log of ioremap failure
devm_ioremap_resource() will print log if error happens. Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> Link: https://lore.kernel.org/r/1629191987-20774-5-git-send-email-chunfeng.yun@mediatek.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy')
-rw-r--r--drivers/phy/mediatek/phy-mtk-tphy.c1
1 files changed, 0 insertions, 1 deletions
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;
}