Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp389856rdb; Fri, 17 Nov 2023 01:32:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IESsMAc4FvTrr2cLvuc2eHQb2hGnNbZPblw+r/kGVOYBYJ6eiItGJfH3752rFjwcxx6V0vo X-Received: by 2002:a05:6808:218b:b0:3a3:4314:8dc0 with SMTP id be11-20020a056808218b00b003a343148dc0mr24228359oib.5.1700213538688; Fri, 17 Nov 2023 01:32:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700213538; cv=none; d=google.com; s=arc-20160816; b=gDYs45XhTq5t6JpJd+tkGitTactip3q3Uh2Gg+11wLtwv4Xyjw1mpVJaigNVkjdIHO 8wmwth0HXf+uQoOS+nnatZdjSePg0x4BtzCkyxey/+9SvPMoH5WbhqLmWAAHfHRAiy0M ORVmupRGJWjlIYid9XlfgItlMUiicJzEfIud4DxcRVgag/ZnUDA+oXGygG7IwbhL2OB8 4y6AGIKczdYEYJjYkltZfeCBBeFjfsoRuZpKFH40UTHqKsVJVQLmHb9/Iw8M7mpj9JJ4 /Cb0tmWQq2oJAfpUUIBKvbKiHdMROHExAYJSPMW1r0gm8fdibZ2haEJ4muk/FwwnMN83 Xxiw== 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=8OlYc0gKuXl4YtvFkNZB2qoW9Zu15CpDv7fGLeeuj34=; fh=VwrEPDW18n0N9TIbDabQFkOLdcnecdBleyn4TvQXE4M=; b=VRYogUC+Q11p2Qeeec38WjH2Kwq+BGef5cf6W2wzlQLFZFCZqoRuvkjOiTUK0PfUUG XdVR7oIR3GmrjZ7gjhq9IXDGAiiPkkblqIFHalfq53bvcRY45EsbndRHFj76souydw7y 41lAIR6yWuU48VDX9/en+89rG7uWkx1fIAkEn8tnC462j4lj9IzwjZ/StmRfpZi6ouLu YTiiabtQD09YuZCvKPfvotoXfYWIuXYyn8wsKbwsH7ycrLqiUQq2/YU/9GLD+xNpKzFE /iSaw6B45u12JMfueoctG7mtBfT8JSQxh5QQefzHFWNMsws/vB1ruxHyGWThhIXKhRk0 x5Ig== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id f13-20020a056a001acd00b006c2d6a04897si1574074pfv.396.2023.11.17.01.32.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 01:32:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-wireless-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 CA55C80B1829; Fri, 17 Nov 2023 01:32:13 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345803AbjKQJcO (ORCPT + 53 others); 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=20Kleine-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=B8rgensen?= , 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 Content-Type: text/plain; charset=UTF-8 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 Content-Transfer-Encoding: 8bit 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 X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Fri, 17 Nov 2023 01:32:13 -0800 (PST) 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 -- 2.42.0