From patchwork Mon Sep 18 19:50:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13390383 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 39F0ACD13D2 for ; Mon, 18 Sep 2023 19:52:15 +0000 (UTC) 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: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:In-Reply-To:References: List-Owner; bh=qaPxOctcs4HVU1Ga+edyte3nsgtCKSX4gPkRDwP9uaE=; b=eToqkDtn8hue+4 Sbx2b8fOZiGfTJ6NsNZnFRS/kdjtsyx7aMPWNaTKmj51QkwNMihYoGXPjFHAYL82AdGKrtYDeHkN3 ykR7Ad7pnDrKWSDfYmIYbvGDGNdN8TppAfiTdzAJozgOnLrq3iW91oN/QBYVLKAvA3HiDpMSjQzlK iwclhWBFud3vxzJ5y7ZNbDB6GWAi9/qLsXPDf0v9KCt53us2w8CoU5DUWYPVLku2cV1GSAHkPsdZi yWNU2PZprLnSvOCctbTZuI84A5wLpXTWNuOsijBdfErbKMc90TCYpcRS+UELXfxJhIW0m6s79gKac QXG0gv7YNIkAdYg6zjTg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qiKHi-00GDtf-1a; Mon, 18 Sep 2023 19:51:54 +0000 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qiKHf-00GDqd-15 for linux-amlogic@lists.infradead.org; Mon, 18 Sep 2023 19:51:53 +0000 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qiKHB-0003kL-K7; Mon, 18 Sep 2023 21:51:21 +0200 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qiKH7-007I8N-8m; Mon, 18 Sep 2023 21:51:17 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1qiKH6-002mBz-U1; Mon, 18 Sep 2023 21:51:16 +0200 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Andrew Lunn , Heiner Kallweit Cc: Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Joel Stanley , Andrew Jeffery , netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, Ray Jui , Scott Branden , Broadcom internal kernel review list , Doug Berger , Florian Fainelli , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , linux-amlogic@lists.infradead.org, Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , linux-sunxi@lists.linux.dev, Iyappan Subramanian , Keyur Chudgar , Quan Nguyen Subject: [PATCH net-next 00/19] net: mdio: Convert to platform remove callback returning void Date: Mon, 18 Sep 2023 21:50:43 +0200 Message-Id: <20230918195102.1302746-1-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3333; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=ci0IQrSWXNAJYKg8fc1qgrDF2J0dg2FQPcKK5IFoxug=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBlCKn/qrkWkMR4vATlu8+A8buQtn/uucJFCz2Je IMvpamj1JiJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZQip/wAKCRCPgPtYfRL+ TgI/CACwpYaVqL2xrOfAhNBLFfB1xVWtYI9VnYPr9stjtL6MTwB9J8cCGV9AZ3kzuvv+WH2Q4rZ 5FI4J3XS7U+/FYU0H3YQQc8TeWJY7Ox15+3DAeFd/J47vAxI040iarzF8Lk1UibG4xlKxeVr/74 7OMIbUZCi0mjPMQzdIUufaXP2vm7IHBsNE5VYDr7pvT1vJixcOEeTtR39oDZmpUGLmjXxJ4FFoZ 80e2dl5Wg/6Lwr0APE2IqAMytjXfRhdW1z8fS7axIlH1JcZePE2Vpwf3V62ohnleM1St4kJJ40I D0TiIGRs/l1V3FjneArpH8rCY8lPmB0ET/0iO0ny4VYL9Wy8 X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-amlogic@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230918_125151_388165_A95DEC0A X-CRM114-Status: GOOD ( 10.41 ) X-BeenThere: linux-amlogic@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-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org Hello, this series convert all platform drivers below drivers/net/mdio to use remove_new. The motivation is to get rid of an integer return code that is (mostly) ignored by the platform driver core and error prone on the driver side. See commit 5c5a7680e67b ("platform: Provide a remove callback that returns no value") for an extended explanation and the eventual goal. There are no interdependencies between the patches. As there are still quite a few drivers to convert, I'm happy about every patch that makes it in. So even if there is a merge conflict with one patch until you apply, please apply the remainder of this series anyhow. Best regards Uwe Uwe Kleine-König (19): net: mdio: aspeed: Convert to platform remove callback returning void net: mdio: bcm-iproc: Convert to platform remove callback returning void net: mdio: bcm-unimac: Convert to platform remove callback returning void net: mdio: gpio: Convert to platform remove callback returning void net: mdio: hisi-femac: Convert to platform remove callback returning void net: mdio: ipq4019: Convert to platform remove callback returning void net: mdio: ipq8064: Convert to platform remove callback returning void net: mdio: moxart: Convert to platform remove callback returning void net: mdio: mscc-miim: Convert to platform remove callback returning void net: mdio: mux-bcm-iproc: Convert to platform remove callback returning void net: mdio: mux-bcm6368: Convert to platform remove callback returning void net: mdio: mux-gpio: Convert to platform remove callback returning void net: mdio: mux-meson-g12a: Convert to platform remove callback returning void net: mdio: mux-meson-gxl: Convert to platform remove callback returning void net: mdio: mux-mmioreg: Convert to platform remove callback returning void net: mdio: mux-multiplexer: Convert to platform remove callback returning void net: mdio: octeon: Convert to platform remove callback returning void net: mdio: sun4i: Convert to platform remove callback returning void net: mdio: xgene: Convert to platform remove callback returning void drivers/net/mdio/mdio-aspeed.c | 6 ++---- drivers/net/mdio/mdio-bcm-iproc.c | 6 ++---- drivers/net/mdio/mdio-bcm-unimac.c | 6 ++---- drivers/net/mdio/mdio-gpio.c | 6 ++---- drivers/net/mdio/mdio-hisi-femac.c | 6 ++---- drivers/net/mdio/mdio-ipq4019.c | 6 ++---- drivers/net/mdio/mdio-ipq8064.c | 7 ++----- drivers/net/mdio/mdio-moxart.c | 6 ++---- drivers/net/mdio/mdio-mscc-miim.c | 6 ++---- drivers/net/mdio/mdio-mux-bcm-iproc.c | 6 ++---- drivers/net/mdio/mdio-mux-bcm6368.c | 6 ++---- drivers/net/mdio/mdio-mux-gpio.c | 5 ++--- drivers/net/mdio/mdio-mux-meson-g12a.c | 6 ++---- drivers/net/mdio/mdio-mux-meson-gxl.c | 6 ++---- drivers/net/mdio/mdio-mux-mmioreg.c | 6 ++---- drivers/net/mdio/mdio-mux-multiplexer.c | 6 ++---- drivers/net/mdio/mdio-octeon.c | 5 ++--- drivers/net/mdio/mdio-sun4i.c | 6 ++---- drivers/net/mdio/mdio-xgene.c | 6 ++---- 19 files changed, 38 insertions(+), 75 deletions(-) base-commit: 7fc7222d9680366edeecc219c21ca96310bdbc10 Reviewed-by: Simon Horman