Message ID | 20211116062328.1949151-20-colin.foster@in-advantage.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=vwZw=QD=lists.infradead.org=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 69EBDC433F5 for <linux-arm-kernel@archiver.kernel.org>; Tue, 16 Nov 2021 06:45:26 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 31B56632EE for <linux-arm-kernel@archiver.kernel.org>; Tue, 16 Nov 2021 06:45:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 31B56632EE Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=in-advantage.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=GxiP+vnDEE8K+dOioEBrl2J73Ob2hLCoaMG6HQoJaIQ=; b=xtjUyA7y2jLQzB mm51zcyVfUgJlGPL4grnXvaen3twY0s6mpKa7jujmVpDbhI/PGw0HEwbHoRIHat/IoOXHtKyDd3VO KBwewUcWT+l1GZ3mP83tq179+qq3TzTKZ6PPqIP4M2SBV463O5hR6O645n4BARsxH2NySQ1R/EV7+ MbDvfC+qNRmoR31cK5C9r5UcIEYHKHNwm8r0XEtPtAf6t+8d3IPbjrqIHT4Q4dAj55ueq2Ypbh8/N VLPcD2/qlHd7y9kmxxkzM+Ro2n8j3aTJSZPWIEwSNrInCD+eiV7eXWF1sFJfjU1uPk9AGEe8YmgnH lwt5MLUDap985VSUYyiQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mmsAT-000Shj-VK; Tue, 16 Nov 2021 06:42:13 +0000 Received: from mail-dm6nam10on2097.outbound.protection.outlook.com ([40.107.93.97] helo=NAM10-DM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mmrt1-000Ns5-LN for linux-arm-kernel@lists.infradead.org; Tue, 16 Nov 2021 06:24:09 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=axSjIDJ3DaGjg8oMOBsZaJIh0jLdswTcC/yk4nhOQ5FZV5KgIkk61G+B6bx9rUq3vuZGuwRI0SaA5vsy3chgXtymHjEIMV7aDJTyP8pzNgouJbMlWWOy9F8wmzFC07xFKDmhWl58FcbANPMar/yoYe6d8esI81REACPXt34z3cdoV9xXTgZYoTgum0eoyksJawNicOjxSkMWiq2HcgjPhCXKE1+LGqPGOxvB6JHgYhCKuQL1rKQ7rbKEfJYcll3NpVMJXLMN+g6mCPSzqki8XpCMZiJqHQdqUn6BFSqqWf+iicPDXkX9N/9cl5ybDHD67DBoVCJCA9KWNugKR170OQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=MASfe7TvjUIYSFDLzZzkW6bpOz75kuBqfzOsutzkVLs=; b=TopXzmeHAuMfsAveEoS/M0Dfhz8ScJKYcp6HaCT+Sh2PIsh0DQvZZujbyaPCmhpkOPZFy/Pd/HXCI16Pc6CkVb6yE//JC5sfjA64MhOVaIM/H8R9t9qZFG/cD4UnNJ5IxtiXwqyTRdG37rtUgSwvAIiSOSiDfRhzmCtvixSyF3U0CdHXwwL2fyoqTqj/rwuwgMRsje9jJ83hPcyVc7Lylm+DBHRZwLqeJW6iFQWyOj7KVitgzToH+eAXV7sGOsFv/Dyq1v5CUbsL/JXf6UBWo9ooneoVFsUecwFO2MGk54tgRjlSbNAHiXjx1UkeFbIn6OSt/U9RriNIMw7SmKSnKQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=in-advantage.com; dmarc=pass action=none header.from=in-advantage.com; dkim=pass header.d=in-advantage.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inadvantage.onmicrosoft.com; s=selector2-inadvantage-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MASfe7TvjUIYSFDLzZzkW6bpOz75kuBqfzOsutzkVLs=; b=nu9jiJnDKQbb4KoIKPelxx/gJ1At9/MHemCKdTIOU1MieY4/oyxMCO+A5uvCkNUBVxqJbl04dBOOPZCYfuC6JdqVosGWS9xnE3CoYju91WTVu6ZXION7FjgIxgvwpKdSrEh5JXEFdpWreLWWgEa3XnAAuAOoNcxBo5oCtH1gqXw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=in-advantage.com; Received: from MWHPR1001MB2351.namprd10.prod.outlook.com (2603:10b6:301:35::37) by CO1PR10MB4722.namprd10.prod.outlook.com (2603:10b6:303:9e::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.27; Tue, 16 Nov 2021 06:23:57 +0000 Received: from MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::6430:b20:8805:cd9f]) by MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::6430:b20:8805:cd9f%5]) with mapi id 15.20.4690.026; Tue, 16 Nov 2021 06:23:57 +0000 From: Colin Foster <colin.foster@in-advantage.com> To: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, "Rafael J. Wysocki" <rafael@kernel.org>, Vladimir Oltean <vladimir.oltean@nxp.com>, Claudiu Manoil <claudiu.manoil@nxp.com>, Alexandre Belloni <alexandre.belloni@bootlin.com>, UNGLinuxDriver@microchip.com, Andrew Lunn <andrew@lunn.ch>, Vivien Didelot <vivien.didelot@gmail.com>, Florian Fainelli <f.fainelli@gmail.com>, "David S. Miller" <davem@davemloft.net>, Jakub Kicinski <kuba@kernel.org>, Ioana Ciornei <ioana.ciornei@nxp.com>, Heiner Kallweit <hkallweit1@gmail.com>, Russell King <linux@armlinux.org.uk>, Lars Povlsen <lars.povlsen@microchip.com>, Steen Hegelund <Steen.Hegelund@microchip.com>, Linus Walleij <linus.walleij@linaro.org>, Philipp Zabel <p.zabel@pengutronix.de>, Heikki Krogerus <heikki.krogerus@linux.intel.com>, Andy Shevchenko <andriy.shevchenko@linux.intel.com> Subject: [RFC PATCH v4 net-next 19/23] net: dsa: felix: name change for clarity from pcs to mdio_device Date: Mon, 15 Nov 2021 22:23:24 -0800 Message-Id: <20211116062328.1949151-20-colin.foster@in-advantage.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211116062328.1949151-1-colin.foster@in-advantage.com> References: <20211116062328.1949151-1-colin.foster@in-advantage.com> X-ClientProxiedBy: MWHPR11CA0028.namprd11.prod.outlook.com (2603:10b6:300:115::14) To MWHPR1001MB2351.namprd10.prod.outlook.com (2603:10b6:301:35::37) MIME-Version: 1.0 Received: from localhost.localdomain (67.185.175.147) by MWHPR11CA0028.namprd11.prod.outlook.com (2603:10b6:300:115::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.26 via Frontend Transport; Tue, 16 Nov 2021 06:23:56 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9f03fa9a-b466-4f14-2e59-08d9a8c9abae X-MS-TrafficTypeDiagnostic: CO1PR10MB4722: X-Microsoft-Antispam-PRVS: <CO1PR10MB4722E25D4F93D56683295C19A4999@CO1PR10MB4722.namprd10.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:1091; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: gFqtyBgF45fDDtE66jlrqbCbTosKQg0M6aJcHIBPVj2o3tfu4A6e8mzDUGUcaRpSJx4laeGNFz4tJ9d95BAwZ7/MXPXljHi9RVHc4WQZ4qXylO4XMHhUQzTsfBx7V5mF9nY3VM7RMrCcEgLUF8BsggV+o/C7YvbyAUCbdbZz8firkhIFwIb/A7rOzo/XSUDdZutahH9mHYFsyvkt3gqKKSPp9eyv2p9CjoyZjH54lHil98PTJbnauuJPkeBQ8DV72Hk23oSI5YYhSgxyPGz0eXLX4C9zuLoAl3uQ0qsyg/mRbNm44LDk1RXJbCC+QMwv3zMQ7UC9sDgAVugH9vaNFGs4Nv4KvfI1OPmXKYR6odQrdxK88IIDv/jELzcAU7QOUifBJkqtMEv5eEzTjVvQjMGXXGIWnjYEUBzRt9EVYQXFlpWIuJ10Ho4GYYDDnsC/UlmXZ8JaAfipOisMQL2I5cl400hbkPonLjNZfvP4bFJF/pQnMS10NvDvGT3pro8kmGq75nICAvywjPD6XxuSUNnlkl1N8Fo+3Id+cES9ItjeR9aLl3CrgZx7janDIlhyQbTO7d16d7cVthY5ltczB1wc5PYpIBHadGBo+ygkkhr/IKJTbWmPCYrhMAf6TMhR1rrrq4TECgnY4aSZlUoMXZdGgrjiogaDFdtw8a2Aea5JsdUDLM0vbx37jX5FpTUtZPt/MJNFnSDj3IVP83MhRA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR1001MB2351.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(376002)(136003)(366004)(396003)(39840400004)(346002)(83380400001)(6666004)(54906003)(5660300002)(2906002)(7416002)(6486002)(44832011)(956004)(86362001)(2616005)(4326008)(316002)(508600001)(8676002)(186003)(6512007)(38100700002)(38350700002)(1076003)(8936002)(52116002)(26005)(6506007)(36756003)(66556008)(66476007)(66946007); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ppF2CY2SNMWjGx0kmi1mhpStuCbvIYDLgOgxV0XjHlBjf5wD4E7bFHMffLdY1ulo7rkbm5EcI71FqCVAGJRLWDiY4m4GfrJ5vWjR4woWY7vJg75nUu0DjX34GC2FckxPhld74aj4vfviVOc01GHLev8ploUEPmDOcUwxapZaVmHkCUZKozES0ysaJX8JdYvGdvpfsVMAvr8fYQZ09ACuHQf7Ns+qE2PGv5fClnteZxCoBD/0NxmCiCSy4gN3uPsjdYrzhmHabVTOKV3tYeT+S9YObVMIr+BJyrbypqV+//PDKP0+m8gTNdpL8IP+k8nwJT5jFC1SZWupr2M1Ynq6hPmiP415ZHr0UVmIQXFZFVFPBMnSIrvN0hfKJKHfZOV9rnt6pVx/66Hf6TWIoVXKFUADTRF80TmkK6zqiqrZJ3xwhfS2kYUF45yHfD+9sZrwICxDUNE/rj4fuM6BGG94fC3oRN2KCj6We0PLvHkACA7jn2CC/Si5Ubs2eSxfVDIEQE+S3NtSLthutxp9EFEHhrVZ7KKlRk8Bmj7di/9H3/2egicdEHdSYfVWkCv+hKoFWiDFV47S0u5jpBwzDY0Oy0AV74iA2Gyx2+QDvjMk4IR7tbVq7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08sXT5FlezA= X-OriginatorOrg: in-advantage.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9f03fa9a-b466-4f14-2e59-08d9a8c9abae X-MS-Exchange-CrossTenant-AuthSource: MWHPR1001MB2351.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Nov 2021 06:23:57.3716 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 48e842ca-fbd8-4633-a79d-0c955a7d3aae X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: s2LUvERDuLwKGYj9OrrNoAOnNa8OmiOIzJ9Z8BmLIs/KsjbG+Gze+A6semPv9vbaIZlSOhGt8mND0pJ2AJt7a+7E32temg2MCRGPDV8/XMA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR10MB4722 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211115_222407_783159_63591721 X-CRM114-Status: GOOD ( 13.72 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
add support for VSC75XX control over SPI
|
expand
|
diff --git a/drivers/net/dsa/ocelot/felix_vsc9959.c b/drivers/net/dsa/ocelot/felix_vsc9959.c index 636bfb096c66..b1032b7abaea 100644 --- a/drivers/net/dsa/ocelot/felix_vsc9959.c +++ b/drivers/net/dsa/ocelot/felix_vsc9959.c @@ -1094,7 +1094,7 @@ static int vsc9959_mdio_bus_alloc(struct ocelot *ocelot) for (port = 0; port < felix->info->num_ports; port++) { struct ocelot_port *ocelot_port = ocelot->ports[port]; struct phylink_pcs *phylink_pcs; - struct mdio_device *pcs; + struct mdio_device *mdio_device; if (dsa_is_unused_port(felix->ds, port)) continue; @@ -1102,13 +1102,13 @@ static int vsc9959_mdio_bus_alloc(struct ocelot *ocelot) if (ocelot_port->phy_mode == PHY_INTERFACE_MODE_INTERNAL) continue; - pcs = mdio_device_create(felix->imdio, port); - if (IS_ERR(pcs)) + mdio_device = mdio_device_create(felix->imdio, port); + if (IS_ERR(mdio_device)) continue; - phylink_pcs = lynx_pcs_create(pcs); + phylink_pcs = lynx_pcs_create(mdio_device); if (!phylink_pcs) { - mdio_device_free(pcs); + mdio_device_free(mdio_device); continue; }
Simple rename of a variable to make things more logical. Signed-off-by: Colin Foster <colin.foster@in-advantage.com> --- drivers/net/dsa/ocelot/felix_vsc9959.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)