From patchwork Fri Nov 17 09:30:57 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: 744901 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 BA268C54FB9 for ; Fri, 17 Nov 2023 09:32:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345803AbjKQJcO (ORCPT ); Fri, 17 Nov 2023 04:32:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345746AbjKQJbv (ORCPT ); Fri, 17 Nov 2023 04:31:51 -0500 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 4D0FE1BDB for ; Fri, 17 Nov 2023 01:31:16 -0800 (PST) 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 1r3vBy-0002W0-M9; Fri, 17 Nov 2023 10:31:14 +0100 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 1r3vBv-009e8J-Bm; Fri, 17 Nov 2023 10:31:11 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1r3vBv-002yjW-1I; Fri, 17 Nov 2023 10:31:11 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Kalle Valo Cc: Jeff Johnson , ath11k@lists.infradead.org, linux-wireless@vger.kernel.org, kernel@pengutronix.de, Jiri Slaby , Nick Kossifidis , Luis Chamberlain , =?utf-8?q?Toke_H=C3=B8iland-J=C3=B8rg?= =?utf-8?q?ensen?= , Loic Poulain , wcn36xx@lists.infradead.org, Arend van Spriel , Franky Lin , Hante Meuleman , Hector Martin , Linus Walleij , "Gustavo A. R. Silva" , Jisoo Jang , brcm80211-dev-list.pdl@broadcom.com, SHA-cyfmac-dev-list@infineon.com, Felix Fietkau , Lorenzo Bianconi , Ryder Lee , Shayne Chen , Sean Wang , Matthias Brugger , AngeloGioacchino Del Regno , Simon Horman , Rob Herring , Wang Yufen , Peter Chiu , Alexander Couzens , Jinjie Ruan , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH wifi-next 0/6] wifi: Convert to platform remove callback returning void Date: Fri, 17 Nov 2023 10:30:57 +0100 Message-ID: <20231117093056.873834-8-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1491; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=F9Oxsx0QIJmkT38mUHzi9AwJy4rp6SebAFM9G77g8Jw=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBlVzLRhZMpN9DscQc/Acv1vmk3igI2Pvvo9Tzoe 5Cxm2rYGeWJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZVcy0QAKCRCPgPtYfRL+ TkkIB/9uaICn2CG/t+EHavYz+BD1rZTP1jDpIOy2VAQCFDCmPISU+qpaURWrMPloUJigTbMxhsy a8mKyOTQ1bpLexlOJwAf7P38lZYzZQnIc5jyBa3tI1YQXbMAeBzFP1SahXKBenwwYgEGyA+LryF zS7i6Npvf74UQox7GVqjcYQv1p5mQkb20j/2BHEhMZHNhrOM4VwNqMtmQkAggBrFG5lyXKpQs06 Yq13B4hO1mkEHFrzPrfZRzsYuxdlnYJrSQ0APgQuhbYPgcHKzLwEcPV0wH8CxVgJeLKMY+zq80c 5PvZhGx4TCKCmUY2Jkhdep9dzBu/zH23irbSifSzvsTBm9A+ 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-wireless@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hello, this series converts the platform drivers below drivers/net/wireless to make use of .remove_new(). See commit 5c5a7680e67b ("platform: Provide a remove callback that returns no value") for an extended explanation and the eventual goal. The TL;DR; is to make it harder for driver authors to leak resources without noticing. Best regards Uwe Uwe Kleine-König (6): wifi: ath11k: Convert to platform remove callback returning void wifi: ath5k: Convert to platform remove callback returning void wifi: ath9k: Convert to platform remove callback returning void wifi: wcn36xx: Convert to platform remove callback returning void wifi: brcmfmac: Convert to platform remove callback returning void wifi: mt76: Convert to platform remove callback returning void drivers/net/wireless/ath/ath11k/ahb.c | 6 ++---- drivers/net/wireless/ath/ath5k/ahb.c | 8 +++----- drivers/net/wireless/ath/ath9k/ahb.c | 6 ++---- drivers/net/wireless/ath/wcn36xx/main.c | 6 ++---- drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c | 6 ++---- drivers/net/wireless/mediatek/mt76/mt7603/soc.c | 7 ++----- drivers/net/wireless/mediatek/mt76/mt7615/soc.c | 6 ++---- drivers/net/wireless/mediatek/mt76/mt7915/soc.c | 6 ++---- 8 files changed, 17 insertions(+), 34 deletions(-) base-commit: eff99d8edbed7918317331ebd1e365d8e955d65e Reviewed-by: Jeff Johnson Reviewed-by: Jeff Johnson