From patchwork Mon Sep 18 19:19:07 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: 13390295 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F3ED2CD13D2 for ; Mon, 18 Sep 2023 19:19:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229379AbjIRTUA (ORCPT ); Mon, 18 Sep 2023 15:20:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229483AbjIRTT7 (ORCPT ); Mon, 18 Sep 2023 15:19:59 -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 BEB13116 for ; Mon, 18 Sep 2023 12:19:53 -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 1qiJmK-0002ny-A9; Mon, 18 Sep 2023 21:19:28 +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 1qiJmG-007I2L-0p; Mon, 18 Sep 2023 21:19:24 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1qiJmF-002m1d-Is; Mon, 18 Sep 2023 21:19:23 +0200 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Florian Fainelli , Andrew Lunn , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Kurt Kanzenbach , Florian Fainelli , Hauke Mehrtens , =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= , Daniel Golle , Landen Chao , DENG Qingfang , Sean Wang , Matthias Brugger , Colin Foster , Vladimir Oltean , Claudiu Manoil , Alexandre Belloni , UNGLinuxDriver@microchip.com, Linus Walleij , =?utf-8?q?Alvin_=C5=A0ipraga?= , =?utf-8?b?Q2zDqW1l?= =?utf-8?b?bnQgTMOpZ2Vy?= Cc: netdev@vger.kernel.org, kernel@pengutronix.de, AngeloGioacchino Del Regno , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-renesas-soc@vger.kernel.org Subject: [PATCH net-next 0/9] net: dsa: Convert to platform remove callback returning void Date: Mon, 18 Sep 2023 21:19:07 +0200 Message-Id: <20230918191916.1299418-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=2189; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=ZA7dOFQnSLtrugXK9Bl0+O8+Kz/XLhZGGCrzvWbf/y4=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBlCKKmTnyEQKzVWdf6Nj8Xvf8bg7hDbrstIXHat tgDgTFphauJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZQiipgAKCRCPgPtYfRL+ TiQYB/96svIfIe+AAw+Fih3TuSWGmjmLWKi8W8r7Loh8Pu2E6hhlYD0AKX/i5R+7mbQZf9bb8dr oJlDp45nupIK/x0putx4RZpjMqMDxP59wfujefc21r+oRQJsDpYOQKOIpKw/r73+X94GNFFuCHn avBjzZfD6hug7rQ5XOX9WXSc8IsvDvcbDVYZsAW5isS0esbjISA9VmaT0cnI1BjkbgWei0NYRtD bKo2/r2uiYHO7/RObCY8d7Fp6DyHYQNRb+X5JXM0nQ/9GJmzzyUIXs8nJvp6K1znnyOFoQsPTNe /ko6OH3sTs42Eb3UadUrWfTG+04YHysc/Beo6c32crUzEL19 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-renesas-soc@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org Hello, this series converts all platform drivers below drivers/net/dsa 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 or a subject prefix is suboptimal, please apply the remainder of this series anyhow. Best regards Uwe Uwe Kleine-König (9): net: dsa: b53: Convert to platform remove callback returning void net: dsa: bcm_sf2: Convert to platform remove callback returning void net: dsa: hirschmann: Convert to platform remove callback returning void net: dsa: lantiq_gswip: Convert to platform remove callback returning void net: dsa: mt7530: Convert to platform remove callback returning void net: dsa: ocelot: Convert to platform remove callback returning void net: dsa: realtek: Convert to platform remove callback returning void net: dsa: rzn1_a5psw: Convert to platform remove callback returning void net: dsa: vitesse-vsc73xx: Convert to platform remove callback returning void drivers/net/dsa/b53/b53_mmap.c | 6 ++---- drivers/net/dsa/b53/b53_srab.c | 8 +++----- drivers/net/dsa/bcm_sf2.c | 8 +++----- drivers/net/dsa/hirschmann/hellcreek.c | 8 +++----- drivers/net/dsa/lantiq_gswip.c | 8 +++----- drivers/net/dsa/mt7530-mmio.c | 7 ++----- drivers/net/dsa/ocelot/ocelot_ext.c | 8 +++----- drivers/net/dsa/ocelot/seville_vsc9953.c | 8 +++----- drivers/net/dsa/realtek/realtek-smi.c | 8 +++----- drivers/net/dsa/rzn1_a5psw.c | 8 +++----- drivers/net/dsa/vitesse-vsc73xx-platform.c | 8 +++----- 11 files changed, 31 insertions(+), 54 deletions(-) base-commit: 7fc7222d9680366edeecc219c21ca96310bdbc10