Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp5026130pxv; Wed, 28 Jul 2021 01:00:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzOH94dgSeiREx3W1iHYiCTwcsmz1eLusEWGqcQ+7/gaWoepPG4opDS7knxG4BENJBUYGgO X-Received: by 2002:a92:c544:: with SMTP id a4mr556380ilj.242.1627459251596; Wed, 28 Jul 2021 01:00:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627459251; cv=none; d=google.com; s=arc-20160816; b=FojHHv9m7eL9mqBaVCb6pKULGdamOsPObCSPavQwuBJuQYzW1vXDpcdCZOZuKAfB9J al3Od+8yHk4JqAXzS+7aSH8FEt2uqpoPkfOMGIuS6k8ndjpq5SnohRRcNUM36Doir7rk 6Wy0HvN0S2E4AW0xpc3tgqjRZkSG9FNzy27BU9D33IKnFAzckNU+k8t2hV8ToBEkne9K 0kC8/TPxS6bC8fMbN+47H/oGz/00oMUOKPG44CyBgTw0NVv0hykoytv0JMuE1PzmPxot JzbUpJGBaoFfMlYLflUNMdILdRRY4YLUPynaSt+3IdADTqLwFbNnxnCb72mB/eQaiK1p XchQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=2YB6p1+gg1W+Lo+aXIFVdyh4FIpL8Lso2oTkvor3A9c=; b=o3Wuiekf0WGyS2+d5vgAsT7QfMvDW9sn+JWkWNYDk+EuHXcz9MTzriFk8UKdHFPjew 5S4KfFdI56kUggusdLIsgAglcvwWoKcqAwX0OdI/KY5ZPpfNYo0xTpDNKp9uYR3cAf// l1jAqTuHh6FkDmBm3bHZ8vd1Muwfqhagsnb75dztWaE8rmOjkptyntJAzyyIuf2LOSOa DdLawk4kN3+BTs1xvNIdYolO7brNdIHka0yB6dFl0SFxkGXSWBxD1t3LqpHO/34kdUiy WfefCdE7pHn6hQAUR8cSglFfY77mbfSy86/AzYICowdeQmeUiKnPnQCnkjgwVO0fOzhx dO0g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x9si5677308jat.100.2021.07.28.01.00.40; Wed, 28 Jul 2021 01:00:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235158AbhG1H7T (ORCPT + 99 others); Wed, 28 Jul 2021 03:59:19 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:42952 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S234280AbhG1H7N (ORCPT ); Wed, 28 Jul 2021 03:59:13 -0400 X-UUID: a8339ce78ae34253b5d1d5801387e7e3-20210728 X-UUID: a8339ce78ae34253b5d1d5801387e7e3-20210728 Received: from mtkcas11.mediatek.inc [(172.21.101.40)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 557863181; Wed, 28 Jul 2021 15:59:08 +0800 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs06n2.mediatek.inc (172.21.101.130) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 28 Jul 2021 15:59:07 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 28 Jul 2021 15:59:06 +0800 From: Chunfeng Yun To: Vinod Koul , Rob Herring , Chun-Kuang Hu CC: Chunfeng Yun , Kishon Vijay Abraham I , Philipp Zabel , Matthias Brugger , , , , , , , Eddie Hung Subject: [PATCH 5/9] phy: phy-mtk-tphy: remove error log of ioremap failure Date: Wed, 28 Jul 2021 15:58:27 +0800 Message-ID: <1627459111-2907-5-git-send-email-chunfeng.yun@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty In-Reply-To: <1627459111-2907-1-git-send-email-chunfeng.yun@mediatek.com> References: <1627459111-2907-1-git-send-email-chunfeng.yun@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org devm_ioremap_resource() will print log if error happens. Signed-off-by: Chunfeng Yun --- drivers/phy/mediatek/phy-mtk-tphy.c | 1 - 1 file changed, 1 deletion(-) 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; } -- 2.18.0