Message ID | 20211116062328.1949151-21-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 02C8DC433F5 for <linux-arm-kernel@archiver.kernel.org>; Tue, 16 Nov 2021 06:51:58 +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 B668461B71 for <linux-arm-kernel@archiver.kernel.org>; Tue, 16 Nov 2021 06:51:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org B668461B71 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=j3JClEbiJuqECSY2CQ1SKaSR/pyamsfmuqn9RZBc8NQ=; b=RdGLhmBqoRBuRu BStDJ3fiYwDeXfuSU+UhEv0k7stvTww8ksCECZuess3QHz96PR0nUjcaTvy5qPoitiTVPZghddXYS jJOudvfDVWquFgcFBkArXCQswaCBcyd5Ky5aPhbZ0xlIr5mA02O5DeApJlMTpbpSXqHyQ+VQPOjGJ WPU13XtYh+GnOgIX8E9e+FLN0WGbqGtdKcrDUC9rMW8bZbJR5kkPd6vt2/Rts8hDaJyVBsj+lQj7F OQr20O2FwFyDEhJNQi4iRDtfJu0qycm+AQKCU10BMJzTC9G0faChLW7fRDHqQYVZ9kJfzQD04UPov OV4kRUV7Nl8IxUzmPGaA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mmsGh-000Twz-VM; Tue, 16 Nov 2021 06:48:38 +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 1mmrt3-000Ns5-DC for linux-arm-kernel@lists.infradead.org; Tue, 16 Nov 2021 06:24:10 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=I2JMltiGIfKvYn/Lax7jq8NkG082wYWWv2lpYPNY+0bRiJqBtkBrAQp6pfYtOmBYAfrH7AgDqTdeSoCUffmMVga0N+0Ws++o9dOKhElCtXngv2dnwZv79IlZ7Ynb6xaZ9OpqEBfs863rY65yPvQvwCyBrP0FJO+RfL5N9rHcUBDZpYxHuquVFYdaJSzpu6X+Kwwnk9KtD0S+/v7f+x5awZ4+F+STOjji1Ov0i8WzhrAxFt2gnMT0Onn6CZTVs+MIrrHdNW04+68MhlePsysviaNjpoNM0D4XEhYFhI9dQW7YlrL9OWuA223qGgGtUPEwCt6dTB6OeU3h9whMAYW1UA== 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=Hk/1te5bwIfVZGRAaBZDCvRJcfC9N2Fnv2yUaDDDN2o=; b=HbrE2YcYjxV40B1NLh1Y8WkCxVT3RiborNdFg/Uk9btcKITL/Uqt7BO4lYSvgtL1nOzZ3GLUGEj0rf7/g/w+6OdWcjK7R9CBRvDAOXUb4AFPQHAwSeyG3jBvs4u5SLXK3MCMZ3HCI8pvPCP4QcOr+q14Xpc9wyQmcC46XXsC6GNWFXCu0lcmVjWNmAx75Z1FON+eH23Q6qii+EQPUS7KHulJnaq46w4T3L36ikOvjTzN0h2SzHHCeh4hWn0wKuWRAZe+aG0OxIOV0JbaqbJ8fMNlR/HO5vvbhlcOetb/eNcLwqK7ZLt9g0qv+mTgdYPhliinrjgCS8yEBZHE/qtMeA== 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=Hk/1te5bwIfVZGRAaBZDCvRJcfC9N2Fnv2yUaDDDN2o=; b=iZqcoF4rgwxb37c10DgeGJeLizSujOnimbPOwNKL6QvSxf0qcfEuN8h5eSIuYl2wNPa3jp3Y7LR0slu/7GJtmIb6d4fmvui1ygCZtcU6aCr9h/Fhdbxw/bcaQL3HlKkVk4hCOSqsl42ck5eftuaRTTu83tuazzd86bNNjtCyjj4= 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:58 +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:58 +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 20/23] net: dsa: seville: name change for clarity from pcs to mdio_device Date: Mon, 15 Nov 2021 22:23:25 -0800 Message-Id: <20211116062328.1949151-21-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:57 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7aab933a-0d40-48bf-32f4-08d9a8c9ac26 X-MS-TrafficTypeDiagnostic: CO1PR10MB4722: X-Microsoft-Antispam-PRVS: <CO1PR10MB472225A38B52CB8AA1440966A4999@CO1PR10MB4722.namprd10.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:2657; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: cZcSiyk8xt//c/Q25zDl9gQCtslJbPqYfkyogF8XQvZ82SUjO/kn/G2wZ3JgAhW1bkNQBNOgkKcRy0gTFDUpFHoHYpP+lVOSoU0FOk/JT+Z6045B6gN1HlSQIFtkJ/VhDPKtJ0LvIcq9W4hA2Eoa3kqn5KzerA7csvDBSCPKJ6VkXKYovnDSYzthVr13cUc7Y58PX36nFuopzOchogzseDUpBpte3/hsyo01MPYILAwSmiYTN/dLIK3ZUWS1eX46o4lef861fSlEmO5QA2JydQ5tniHHn9MMGSmAa+Ns4XTZUWTaDKyrJzCrVZbzD+YM/ZUU3yCI5mieEg3sz19wRPVUf4G5N4sqWyjeCF32pzDSfpwpQqlH4SMdKz7txBFuNBO6L2MM+BoxwYk+3fNSupc8u6lvahn7HgHkwx8/EihiG8M8hqL4EwbXLl7Mbg1ceMT/UyRL+Xy4JnIvG5c3RYPtEpxZfqGvEBmjUWv3fUUeL/PBRRT7SZNwRAb5AL9ueCcg0q5J9PLsv2K52qZ/xQuYwD91701m2dNquWcKoWitLJC8mym0ByqJ6mcFa8DbZtQM/7t8IqR7iFwRY9injkZRAItXKcQ/Hj9ITmubQCqO3EXsZWRbKJwkQ9bbidQoQUho9cXdGHUrPWSipGNYf0v4HWGnC8sIf8rIEh/pFws4GmFT8Evqv2P17rq4xKxcL8GybpkJ/DsxcUTlvxKfVw== 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: 81e9cmtjHtAuNGAXpLBa6XC0HiB0j8udeODJ23X2dyWcn6sGBP4/drh0UphWWNWOMLz8ct8wYz8N0cUXdNGwF5dDKfVzy9ta08+8dHjx368iSJ9VmXzr/v4zS4DhuLXgGMZfjEh2W45FCgnSWVX2BREAcAZ5kosE8uZi6rdqchEt2GdYbhMGFVJZYnFbJ4xv/FBYDXPDDAnhgp1LR0wqSh+cNEOIunhcOjOOYLjzPN1psk5lRcfsGd519X7qR5WnwqPJfMhHOnofwZ7mt5wNo34Y8fWYJOYjpmDO0q88WqLNVmtGh4byP8TQ1X1dFVc2dV+65CFWKwQtxS4MCryAmM5o+mHcUDdVaCNPwIPWx5l7zve3/1jfi3iqCr8NomzkB4USxoopcnZRRBi5LX+BdGUc+fa9EIt05LNUl4SnyC9QzEviO0qFZbFZQot+NPJC1DcowzbOY9BhxFPchQy7JFduygLZ7JQzOkUeVV3fCAdYgtN/ed6WxlKrHG9Zk3Rh6Sfe09umQZXFxBvFnDo4oyHpS3M6WoNe5wTrYYvD7hAXyPB2g5Zwg6j2htRt+aJVxju3W1tnOLyp76lTq2SVzCAtj02Ts4xo1w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VS45U4+k6rC9XlNDZwG+U= X-OriginatorOrg: in-advantage.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7aab933a-0d40-48bf-32f4-08d9a8c9ac26 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:58.1342 (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: fk78c0TOqDFzSKNc58uea4JUxxDx82ESl4Mt+PHJTPPUFAPlXRztXK08P90LekX+SENh5yFYSj1cCAgvp0PyJKwTUS7vmt9iU4Si8eN5Pq0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR10MB4722 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211115_222409_529158_2D30EF97 X-CRM114-Status: GOOD ( 12.69 ) 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/seville_vsc9953.c b/drivers/net/dsa/ocelot/seville_vsc9953.c index 49fc8220d636..268c09042824 100644 --- a/drivers/net/dsa/ocelot/seville_vsc9953.c +++ b/drivers/net/dsa/ocelot/seville_vsc9953.c @@ -1027,7 +1027,7 @@ static int vsc9953_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; int addr = port + 4; if (dsa_is_unused_port(felix->ds, port)) @@ -1036,13 +1036,13 @@ static int vsc9953_mdio_bus_alloc(struct ocelot *ocelot) if (ocelot_port->phy_mode == PHY_INTERFACE_MODE_INTERNAL) continue; - pcs = mdio_device_create(felix->imdio, addr); + mdio_device = mdio_device_create(felix->imdio, addr); if (IS_ERR(pcs)) 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; }
A simple variable update from "pcs" to "mdio_device" for the mdio device will make things a little cleaner. Signed-off-by: Colin Foster <colin.foster@in-advantage.com> --- drivers/net/dsa/ocelot/seville_vsc9953.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)