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: 14166 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp2921509vqi; Mon, 18 Sep 2023 13:06:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFtoYgBXJYZYzmSxye1XGQniSpaikfWXLXyXP+OW42OtjC33Shey1MbpdPnqcqTTqfVNdIn X-Received: by 2002:a05:6a20:8f02:b0:15a:2d98:bc81 with SMTP id b2-20020a056a208f0200b0015a2d98bc81mr10612646pzk.53.1695067573123; Mon, 18 Sep 2023 13:06:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695067573; cv=none; d=google.com; s=arc-20160816; b=eXIP0Y0V0FED5NczPsOyu40meylCjyUZv2CIGMoRPjmXVhseEKKOmFF1Y6FGIwTps+ x2MNg5lK6ybr6+V5UJodaTrfSGtWUWTlGlb8OeTuMxdLTTvybW3LteNwhW33a2HKzk66 PGclqUW7GOcxrgZNqa7aL+BYsjdmaJuuKs6tbiyZY0KxBL12v7ax0tebjFsbCSYf2Ufo VVr1ec1datNrco1xMKayoziEjzVcwN033WZPKepVAsxb1zeOhSaArYvlfUyspchoQECp U4KRqWuh2PzGJnn17fwetVUGg4InSpEkqGiGUjkduyhXQqpmd/GeDtSI/ndfS2JcXgfz G/yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=95J6WSpYf/fdmstAK5vcI9MtGtveAQObrjOiSwrUvBA=; fh=LgOO9qFPSu2SkPZpr2jPD8ZXBBvuHO4jQQ9op4ZMxz4=; b=Jvw/K9MJYE7pLh0i8O8XGOV9yxYTib1V0MroZEqdXH5pvk12xjr2/ZV2w8IVq7O8yX v6/CfkvlSbCHNy7i+/Y1zX+E6OBWJg6Hkd2eWfqj0Rk59duGTil+13TbmSGmd+OPzFPe OCMErHztotx+UNOGo/ykFR2dkrC3GqbIWMhgCy6FSPld3ejeRRavOyIXvTmfP0QAhLC0 /vF73xt20N88q10Va1X8NuJg4tnEGUa/KguJiDs+h5GwcG2LbX1MMGrvOQ1XSzUDRnWE vNZbWVgjHbGgbUZsSd+R5tHfOiZNXBRdyI61QWGHxpmfViEiV6hUwPFu/siaqciBHJh1 PwNw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id v188-20020a632fc5000000b005774aba5194si8159868pgv.425.2023.09.18.13.06.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 13:06:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 7587482429A0; Mon, 18 Sep 2023 12:52:57 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229720AbjIRTwf (ORCPT + 25 others); Mon, 18 Sep 2023 15:52:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230004AbjIRTwA (ORCPT ); Mon, 18 Sep 2023 15:52:00 -0400 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [IPv6:2a0a:edc0:2:b01:1d::104]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C06B1B1 for ; Mon, 18 Sep 2023 12:51:42 -0700 (PDT) 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-kernel@vger.kernel.org X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 18 Sep 2023 12:52:57 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777407175500285856 X-GMAIL-MSGID: 1777407175500285856 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