From: Chunfeng Yun Date: Tue, 17 Aug 2021 09:19:43 +0000 (+0800) Subject: phy: phy-mtk-tphy: remove error log of ioremap failure X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=1c6de3fc53ca14d3266d219e2ee62b8e5b1e2a6f;p=linux.git phy: phy-mtk-tphy: remove error log of ioremap failure devm_ioremap_resource() will print log if error happens. Signed-off-by: Chunfeng Yun Link: https://lore.kernel.org/r/1629191987-20774-5-git-send-email-chunfeng.yun@mediatek.com Signed-off-by: Vinod Koul --- diff --git a/drivers/phy/mediatek/phy-mtk-tphy.c b/drivers/phy/mediatek/phy-mtk-tphy.c index 9d4b342981376..cdcef865fe9e5 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; }