From patchwork Fri Oct 4 10:21:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Russell King (Oracle)" X-Patchwork-Id: 13822113 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E515CCFA763 for ; Fri, 4 Oct 2024 10:29:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Date:Message-Id:Content-Type :Content-Transfer-Encoding:MIME-Version:Subject:Cc:To:From:References: In-Reply-To:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=JdN02JEb+tV7QDm6Q8MbssW9U6Xz9qi2FLRLvr513dc=; b=3M8yMEHxpwLXK0J+A5xDbr4oh5 9vTVL5SI774y4C4SgqAVAGEM63CViIZuk++0rYU4tf7mY23WI80kfwaXrTH1MW5hK7RpGUZV09KE3 0KF7+wdZ4IcfAEOEpSZocMbPJZpFFmKsjUEEWp149EYS4uiV8yUCXwW9r3IIuiyPrG0t06T7vPKe4 p4v99pdbWv96Gh4NLZY/EMdyZdU593d3fjBY7NW2LC9Vf1cOR+hC5emFk/wjH5QJJbh8c2KXet24z E1/Yz9h0OGc9r1JgAxEk2fwFrdd71NFKHXnnzX3fBIq8pPURYDt//XKtiPoksKPATH28DhUj7XleQ RgWgm3UQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1swfYr-0000000Br7L-06Dj; Fri, 04 Oct 2024 10:29:25 +0000 Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:32c8:5054:ff:fe00:142]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1swfR4-0000000BomE-0fMq for linux-arm-kernel@lists.infradead.org; Fri, 04 Oct 2024 10:21:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Date:Sender:Message-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:Subject:Cc:To:From:References: In-Reply-To:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=JdN02JEb+tV7QDm6Q8MbssW9U6Xz9qi2FLRLvr513dc=; b=1sCY9fr2Dd7h5Z/z9PaVHnNwtG auhvQJWU29UYysgfCUGKIpJ8/oF4iRq92x9t3MX/iUg3PWow21LDI/2pqAYWmCRPV+CK8aqAlEhlw QmQpAdvJnn3Xejn68vK0gDXMpDCOd0F0ne52fMfe1tMfn0b2Cz7Ju0PusISG2Dl2/4C7Nij91LZrg MlDl1aXs044Gru3nlWg+aubV6fAtQV0qBW3CuPr4BF30Wjj06ozxVt34X2ySGWQlrx4fRQ8n3QmYS ll22eXvH6xUTXA5h0AvcL3djaHNJMAw45GnE/m+uRsjlV0mcuC4m9ptuTLTeuxuFWEllZzoWQBB4S 1exB5ZJw==; Received: from e0022681537dd.dyn.armlinux.org.uk ([fd8f:7570:feb6:1:222:68ff:fe15:37dd]:35166 helo=rmk-PC.armlinux.org.uk) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1swfQq-0001h6-2O; Fri, 04 Oct 2024 11:21:08 +0100 Received: from rmk by rmk-PC.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1swfQo-006DfU-U7; Fri, 04 Oct 2024 11:21:06 +0100 In-Reply-To: References: From: "Russell King (Oracle)" To: Andrew Lunn , Heiner Kallweit Cc: Alexandre Torgue , "David S. Miller" , Eric Dumazet , Florian Fainelli , Jakub Kicinski , Jiawen Wu , Jose Abreu , Jose Abreu , linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, Maxime Coquelin , Mengyuan Lou , netdev@vger.kernel.org, Paolo Abeni , Vladimir Oltean Subject: [PATCH net-next 06/13] net: pcs: xpcs: rename xpcs_get_id() MIME-Version: 1.0 Content-Disposition: inline Message-Id: Date: Fri, 04 Oct 2024 11:21:06 +0100 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241004_032122_222507_B8348A8D X-CRM114-Status: GOOD ( 11.05 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Rename xpcs_get_id() to xpcs_read_id() which more closely reflects the purpose of this function. Signed-off-by: Russell King (Oracle) --- drivers/net/pcs/pcs-xpcs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/pcs/pcs-xpcs.c b/drivers/net/pcs/pcs-xpcs.c index a7f6d56183a7..db3f50f195ab 100644 --- a/drivers/net/pcs/pcs-xpcs.c +++ b/drivers/net/pcs/pcs-xpcs.c @@ -1190,7 +1190,7 @@ static void xpcs_an_restart(struct phylink_pcs *pcs) } } -static int xpcs_get_id(struct dw_xpcs *xpcs) +static int xpcs_read_ids(struct dw_xpcs *xpcs) { int ret; u32 id; @@ -1405,7 +1405,7 @@ static int xpcs_init_id(struct dw_xpcs *xpcs) xpcs->info = *info; } - ret = xpcs_get_id(xpcs); + ret = xpcs_read_ids(xpcs); if (ret < 0) return ret;