From patchwork Fri May 12 21:27:06 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: 13239880 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E49A8138F for ; Fri, 12 May 2023 21:28:49 +0000 (UTC) Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62CD4E713 for ; Fri, 12 May 2023 14:28:27 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pxaIe-0005HQ-DI; Fri, 12 May 2023 23:27:40 +0200 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1pxaIU-0033Vk-UV; Fri, 12 May 2023 23:27:30 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1pxaIU-003qhX-9g; Fri, 12 May 2023 23:27:30 +0200 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Wolfgang Grandegger , Marc Kleine-Budde , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Dario Binacchi , =?utf-8?q?Uwe_Kleine-?= =?utf-8?q?K=C3=B6nig?= , Minghao Chi , Zhang Changzhong , Wei Fang , Rob Herring , Pavel Pisa , Ondrej Ille , Vincent Mailhol , Haibo Chen , Oliver Hartkopp , Yang Yingliang , Chandrasekar Ramakrishnan , Chris Packham , Andy Shevchenko , Wolfram Sang , Mark Brown , Dongliang Mu , Geert Uytterhoeven , Biju Das , Simon Horman , Christophe JAILLET , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Appana Durga Kedareswara rao , Michal Simek Cc: linux-can@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel@pengutronix.de, linux-sunxi@lists.linux.dev, Naga Sureshkumar Relli Subject: [PATCH net-next 00/19] can: Convert to platform remove callback returning void Date: Fri, 12 May 2023 23:27:06 +0200 Message-Id: <20230512212725.143824-1-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3125; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=CIVa8xJjV/wvM1n16ALppP7HbOG+7K8Otx33EB/s+c0=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBkXq8jGmHgDZEf5cFd1OBFCsjWWCUAe06FRikIq ds4QLnPzAqJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZF6vIwAKCRCPgPtYfRL+ TmYxB/9iNwRB5UaB0O45PJH5RdP8FrqojNP8biv2y/VJGnuzlX8A/i0R+iAnz8Tjwn/doXTpQY1 DupInE8JbPNoloyz40iQR35UMlBZJctUUwsOnbhw8VoKR1t+kXUilqDqXJ/JqRVqV/FvaZnvJVo 6znakdpOYzjF8HttRpv35yOAMGdqOrWTQ8OBiJsz7BODeLQ5NORuHwNqY8J6bVMsBiY12dGiabB rTVqins7zFASXM4Wa/2/twpOEAjhmomMDvXEeDu35JfCpgEyEF8VNZBXb4XZU1FQMxcyFRfeU9k I8CHT0COd2M7AlGhwZnwX9y42GojbmwzsygTn8CYGVlD19Em 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.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: netdev@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Patchwork-Delegate: kuba@kernel.org Hello, this series convers the drivers below drivers/net/can to the .remove_new() callback of struct platform_driver(). The motivation is to make the remove callback less prone for errors and wrong assumptions. See commit 5c5a7680e67b ("platform: Provide a remove callback that returns no value") for a more detailed rationale. All drivers already returned zero unconditionally in their .remove() callback, so converting them to .remove_new() is trivial. Best regards Uwe Uwe Kleine-König (19): can: at91_can: Convert to platform remove callback returning void can: bxcan: Convert to platform remove callback returning void can: c_can: Convert to platform remove callback returning void can: cc770_isa: Convert to platform remove callback returning void can: cc770_platform: Convert to platform remove callback returning void can: ctucanfd: Convert to platform remove callback returning void can: flexcan: Convert to platform remove callback returning void can: grcan: Convert to platform remove callback returning void can: ifi_canfd: Convert to platform remove callback returning void can: janz-ican3: Convert to platform remove callback returning void can: m_can: Convert to platform remove callback returning void can: mscan/mpc5xxx_can.c -- Convert to platform remove callback returning void can: rcar: Convert to platform remove callback returning void can: sja1000_isa: Convert to platform remove callback returning void can: sja1000_platform: Convert to platform remove callback returning void can: softing: Convert to platform remove callback returning void can: sun4i_can: Convert to platform remove callback returning void can: ti_hecc: Convert to platform remove callback returning void can: xilinx: Convert to platform remove callback returning void drivers/net/can/at91_can.c | 6 ++---- drivers/net/can/bxcan.c | 5 ++--- drivers/net/can/c_can/c_can_platform.c | 6 ++---- drivers/net/can/cc770/cc770_isa.c | 6 ++---- drivers/net/can/cc770/cc770_platform.c | 6 ++---- drivers/net/can/ctucanfd/ctucanfd_platform.c | 6 ++---- drivers/net/can/flexcan/flexcan-core.c | 6 ++---- drivers/net/can/grcan.c | 6 ++---- drivers/net/can/ifi_canfd/ifi_canfd.c | 6 ++---- drivers/net/can/janz-ican3.c | 6 ++---- drivers/net/can/m_can/m_can_platform.c | 6 ++---- drivers/net/can/mscan/mpc5xxx_can.c | 6 ++---- drivers/net/can/rcar/rcar_can.c | 5 ++--- drivers/net/can/rcar/rcar_canfd.c | 6 ++---- drivers/net/can/sja1000/sja1000_isa.c | 6 ++---- drivers/net/can/sja1000/sja1000_platform.c | 6 ++---- drivers/net/can/softing/softing_main.c | 5 ++--- drivers/net/can/sun4i_can.c | 6 ++---- drivers/net/can/ti_hecc.c | 6 ++---- drivers/net/can/xilinx_can.c | 6 ++---- 20 files changed, 40 insertions(+), 77 deletions(-) base-commit: ac9a78681b921877518763ba0e89202254349d1b