From patchwork Sun Dec 17 14:29:26 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: 13495874 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (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 244FA49F95 for ; Sun, 17 Dec 2023 14:30:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de 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 1rEs9f-0006VJ-OC; Sun, 17 Dec 2023 15:30:07 +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 1rEs9b-00GUh4-VU; Sun, 17 Dec 2023 15:30:03 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1rEs9b-004hyq-J9; Sun, 17 Dec 2023 15:30:03 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Krzysztof Kozlowski Cc: kernel@pengutronix.de, Markus Mayer , Broadcom internal kernel review list , Florian Fainelli , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Santosh Shilimkar , Paul Cercueil , linux-mips@vger.kernel.org, Yong Wu , Matthias Brugger , AngeloGioacchino Del Regno , linux-mediatek@lists.infradead.org, Roger Quadros , Tony Lindgren , linux-omap@vger.kernel.org, Lukasz Luba , Alim Akhtar , linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, Maxime Coquelin , Alexandre Torgue , linux-stm32@st-md-mailman.stormreply.com, Thierry Reding , Jonathan Hunter , Sumit Gupta , Nick Alcock , linux-tegra@vger.kernel.org, Rob Herring Subject: [PATCH 00/15] memory: Convert to platform remove callback returning void Date: Sun, 17 Dec 2023 15:29:26 +0100 Message-ID: X-Mailer: git-send-email 2.42.0 Precedence: bulk X-Mailing-List: linux-mips@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2631; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=FyuyHaIj5jd4bPxOXQjJ+ozo7s7sihGMLWkkNmVGnME=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBlfwXFp0yrTZyYp2KFK2fwTyu80UmXy69MORJAs wm48iAIgimJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZX8FxQAKCRCPgPtYfRL+ TgNJB/9eFZpgOAoyZMQMzWGucpEqIvWX6W0eNcnXBmurNkaFQmk9v1UHmj1xyNFW24mvDrwXPRz PaBLdyRO1QyT7ZOOWdkxvvYU+/g6yBUmpw+P5lihn0tefw+vl6Ej1suMnbs2tMdJ0FTQYQZRyQL ZnZyl3AYPprWtaCsKyu9b4pRwdQGJ4KG1NnvRkE562N+Wg7eXkwU5ah9EQWW4t+Jcs6SgvZHMhp 1quJkD1SA//uBFFZXLUV5UysntvLZwazuV3zLV81y6r02+H5X8Y3mcj7mX2qPf8Ubh9GWDrcybC h8kJTYL4+I5P2Hh+7xPkiTW8Rt32gZGaprL2X8zZ8V/x9QkC 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-mips@vger.kernel.org Hello, this series converts the platform drivers below drivers/memory 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. This is merge window material. All patches are pairwise independent of each other so they can be applied individually. Still it would be great to let them go in all together. Best regards Uwe Uwe Kleine-König (15): memory: brcmstb_dpfe: Convert to platform remove callback returning void memory: brcmstb_memc: Convert to platform remove callback returning void memory: emif: Convert to platform remove callback returning void memory: fsl-corenet-cf: Convert to platform remove callback returning void memory: fsl_ifc: Convert to platform remove callback returning void memory: jz4780-nemc: Convert to platform remove callback returning void memory: mtk-smi: Convert to platform remove callback returning void memory: omap-gpmc: Convert to platform remove callback returning void memory: renesas-rpc-if: Convert to platform remove callback returning void memory: exynos5422-dmc: Convert to platform remove callback returning void memory: stm32-fmc2-ebi: Convert to platform remove callback returning void memory: tegra186-emc: Convert to platform remove callback returning void memory: tegra210-emc: Convert to platform remove callback returning void memory: ti-aemif: Convert to platform remove callback returning void memory: ti-emif-pm: Convert to platform remove callback returning void drivers/memory/brcmstb_dpfe.c | 6 ++---- drivers/memory/brcmstb_memc.c | 6 ++---- drivers/memory/emif.c | 6 ++---- drivers/memory/fsl-corenet-cf.c | 6 ++---- drivers/memory/fsl_ifc.c | 6 ++---- drivers/memory/jz4780-nemc.c | 5 ++--- drivers/memory/mtk-smi.c | 10 ++++------ drivers/memory/omap-gpmc.c | 6 ++---- drivers/memory/renesas-rpc-if.c | 6 ++---- drivers/memory/samsung/exynos5422-dmc.c | 6 ++---- drivers/memory/stm32-fmc2-ebi.c | 6 ++---- drivers/memory/tegra/tegra186-emc.c | 6 ++---- drivers/memory/tegra/tegra210-emc-core.c | 6 ++---- drivers/memory/ti-aemif.c | 5 ++--- drivers/memory/ti-emif-pm.c | 6 ++---- 15 files changed, 32 insertions(+), 60 deletions(-) base-commit: 17cb8a20bde66a520a2ca7aad1063e1ce7382240