From patchwork Mon Sep 25 09:54:51 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: 13397574 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 75047CE7A89 for ; Mon, 25 Sep 2023 09:56:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=lv97bXRtG2ssDdNHZx6luCxT8QR0EEqn5s7BsSQ5sLo=; b=O8zQj+N8GwEStR/fhsr2WQYPEc 5hpcsP+fndnfqJ82n0D3GGne27fu7j016KO/7G/24JO/uVgug/bzoSr+OxPvBHPcgrqCdU6g5Pw+I LAReiHkDKcd1WFIsvFcC7fZTlueTXHavdKhQRafuRDAMAJlQ69u6CnVT9oY0R4p2Qrv5McvkE4zvv A4a5vMWmBqopkdUaFvtWZ0WC+TGDEtc8QN+o9y/X8RldTXFFI9hKc+cp91cZ9b+MYYuiwnuyIaAQJ Ak+uJjsfensWYLlSnbFi4zeNcy50NP0m4IZLfFK8OJVbElCUoRpzuqI/XZmIsWzK6i+7mcavta1oK Uy66PEog==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qkiKY-00DuYZ-0h; Mon, 25 Sep 2023 09:56:42 +0000 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qkiK9-00Du7f-0k for linux-mediatek@lists.infradead.org; Mon, 25 Sep 2023 09:56:19 +0000 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 1qkiJa-0007m3-Nw; Mon, 25 Sep 2023 11:55:42 +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 1qkiJT-008pyb-Sh; Mon, 25 Sep 2023 11:55:35 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1qkiJT-004dkN-HQ; Mon, 25 Sep 2023 11:55:35 +0200 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Joel Stanley , Li Yang , Herve Codina , Qiang Zhao , Hitomi Hasegawa , Huisong Li , Krzysztof Halasa , Karol Gugala , Mateusz Holenko , Gabriel Somlo , Yinbo Zhu , Matthias Brugger , Conor Dooley , Daire McNamara , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Konrad Dybcio , Heiko Stuebner , Thierry Reding , Jonathan Hunter , Sumit Gupta , Shang XiaoJing , Muhammad Usama Anjum , Rob Herring , Nishanth Menon , Santosh Shilimkar , Michal Simek Cc: Andrew Jeffery , linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Zev Weiss , linuxppc-dev@lists.ozlabs.org, loongarch@lists.linux.dev, AngeloGioacchino Del Regno , linux-mediatek@lists.infradead.org, linux-riscv@lists.infradead.org, zhang songyi , Lubomir Rintel , linux-arm-msm@vger.kernel.org, linux-rockchip@lists.infradead.org, Alim Akhtar , linux-samsung-soc@vger.kernel.org, Nick Alcock , Yang Yingliang , linux-tegra@vger.kernel.org, linux-pm@vger.kernel.org, Ruan Jinjie , kernel@pengutronix.de Subject: [PATCH 00/40] soc: Convert to platform remove callback returning void Date: Mon, 25 Sep 2023 11:54:51 +0200 Message-Id: <20230925095532.1984344-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=6687; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=rvB7bVgDAAktE8ghXihTFoFKKAYdQUIGJrvcbwXNFWY=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBlEVg/wR4H5DL2toQ7evPAUcXpi7TAsGaDNcnrq TRp5k8KakmJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZRFYPwAKCRCPgPtYfRL+ TifcB/0aVr05FQYrvmmOz1wL8CNQPEXMLJDWDJwAPDWD03L+gmmVu9DcaPQGH8bvpuCcydz+p1o V/BaCnfCvkvvHiLuLEDeBVXlwTU5zvYgAOQXvgDv/aN8uQi0AoraoBDwW9AivvN5EH7FD5WRs8P 1cFuO04fWjfAlUSZtqcR2N8j/LjZ2of4+tkEI/ioZloR5NxUsOZeIfIjKxpLIbokBrOh50O7qm4 Yf31fGMug9dQZpggaTF93CLXkvp40lqu3JS5qh6g44+WSCDHAGpyIOPo+9XbyFVvZ82JzZXQmcp BQx5Tmjduzc+iKsziqmcFWP7m6WRqdCmjFtU9ZKeNC35WVUT 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-mediatek@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230925_025617_436400_CBDE6A55 X-CRM114-Status: GOOD ( 12.30 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Hello, this series converts all platform drivers below drivers/soc 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. As there is no single maintainer team for drivers/soc, I suggest the individual maintainers to pick up "their" patches. There are no interdependencies between the patches, so that should work fine. As there are still quite a few drivers to convert in other areas than drivers/soc, I'm happy about every patch that makes it in and there is no need for further coordination. So even if there is a merge conflict with one patch until you apply or a subject prefix is suboptimal, please don't let you stop by negative feedback for other patches (unless it applies to "your" patches, too, of course). Best regards and thanks for considering, Uwe Uwe Kleine-König (40): soc/aspeed: aspeed-lpc-ctrl: Convert to platform remove callback returning void soc/aspeed: aspeed-lpc-snoop: Convert to platform remove callback returning void soc/aspeed: aspeed-p2a-ctrl: Convert to platform remove callback returning void soc/aspeed: aspeed-uart-routing: Convert to platform remove callback returning void soc/fsl: dpaa2-console: Convert to platform remove callback returning void soc/fsl: cpm: qmc: Convert to platform remove callback returning void soc/fsl: cpm: tsa: Convert to platform remove callback returning void soc/fujitsu: a64fx-diag: Convert to platform remove callback returning void soc/hisilicon: kunpeng_hccs: Convert to platform remove callback returning void soc/ixp4xx: ixp4xx-npe: Convert to platform remove callback returning void soc/ixp4xx: ixp4xx-qmgr: Convert to platform remove callback returning void soc/litex: litex_soc_ctrl: Convert to platform remove callback returning void soc/loongson: loongson2_guts: Convert to platform remove callback returning void soc/mediatek: mtk-devapc: Convert to platform remove callback returning void soc/mediatek: mtk-mmsys: Convert to platform remove callback returning void soc/microchip: mpfs-sys-controller: Convert to platform remove callback returning void soc/pxa: ssp: Convert to platform remove callback returning void soc/qcom: icc-bwmon: Convert to platform remove callback returning void soc/qcom: llcc-qcom: Convert to platform remove callback returning void soc/qcom: ocmem: Convert to platform remove callback returning void soc/qcom: pmic_glink: Convert to platform remove callback returning void soc/qcom: qcom_aoss: Convert to platform remove callback returning void soc/qcom: qcom_gsbi: Convert to platform remove callback returning void soc/qcom: qcom_stats: Convert to platform remove callback returning void soc/qcom: rmtfs_mem: Convert to platform remove callback returning void soc/qcom: smem: Convert to platform remove callback returning void soc/qcom: smp2p: Convert to platform remove callback returning void soc/qcom: smsm: Convert to platform remove callback returning void soc/qcom: socinfo: Convert to platform remove callback returning void soc/rockchip: io-domain: Convert to platform remove callback returning void soc/samsung: exynos-chipid: Convert to platform remove callback returning void soc/tegra: cbb: tegra194-cbb: Convert to platform remove callback returning void soc/ti: k3-ringacc: Convert to platform remove callback returning void soc/ti: knav_dma: Convert to platform remove callback returning void soc/ti: knav_qmss_queue: Convert to platform remove callback returning void soc/ti: pm33xx: Convert to platform remove callback returning void soc/ti: pruss: Convert to platform remove callback returning void soc/ti: smartreflex: Convert to platform remove callback returning void soc/ti: wkup_m3_ipc: Convert to platform remove callback returning void soc/xilinx: zynqmp_power: Convert to platform remove callback returning void drivers/soc/aspeed/aspeed-lpc-ctrl.c | 6 ++---- drivers/soc/aspeed/aspeed-lpc-snoop.c | 6 ++---- drivers/soc/aspeed/aspeed-p2a-ctrl.c | 6 ++---- drivers/soc/aspeed/aspeed-uart-routing.c | 6 ++---- drivers/soc/fsl/dpaa2-console.c | 6 ++---- drivers/soc/fsl/qe/qmc.c | 6 ++---- drivers/soc/fsl/qe/tsa.c | 5 ++--- drivers/soc/fujitsu/a64fx-diag.c | 6 ++---- drivers/soc/hisilicon/kunpeng_hccs.c | 6 ++---- drivers/soc/ixp4xx/ixp4xx-npe.c | 6 ++---- drivers/soc/ixp4xx/ixp4xx-qmgr.c | 5 ++--- drivers/soc/litex/litex_soc_ctrl.c | 5 ++--- drivers/soc/loongson/loongson2_guts.c | 6 ++---- drivers/soc/mediatek/mtk-devapc.c | 6 ++---- drivers/soc/mediatek/mtk-mmsys.c | 6 ++---- drivers/soc/microchip/mpfs-sys-controller.c | 6 ++---- drivers/soc/pxa/ssp.c | 6 ++---- drivers/soc/qcom/icc-bwmon.c | 6 ++---- drivers/soc/qcom/llcc-qcom.c | 5 ++--- drivers/soc/qcom/ocmem.c | 6 ++---- drivers/soc/qcom/pmic_glink.c | 6 ++---- drivers/soc/qcom/qcom_aoss.c | 6 ++---- drivers/soc/qcom/qcom_gsbi.c | 6 ++---- drivers/soc/qcom/qcom_stats.c | 6 ++---- drivers/soc/qcom/rmtfs_mem.c | 6 ++---- drivers/soc/qcom/smem.c | 6 ++---- drivers/soc/qcom/smp2p.c | 6 ++---- drivers/soc/qcom/smsm.c | 6 ++---- drivers/soc/qcom/socinfo.c | 6 ++---- drivers/soc/rockchip/io-domain.c | 6 ++---- drivers/soc/samsung/exynos-chipid.c | 6 ++---- drivers/soc/tegra/cbb/tegra194-cbb.c | 6 ++---- drivers/soc/ti/k3-ringacc.c | 5 ++--- drivers/soc/ti/knav_dma.c | 6 ++---- drivers/soc/ti/knav_qmss_queue.c | 5 ++--- drivers/soc/ti/pm33xx.c | 5 ++--- drivers/soc/ti/pruss.c | 6 ++---- drivers/soc/ti/smartreflex.c | 5 ++--- drivers/soc/ti/wkup_m3_ipc.c | 6 ++---- drivers/soc/xilinx/zynqmp_power.c | 6 ++---- 40 files changed, 80 insertions(+), 152 deletions(-) base-commit: 8fff9184d1b5810dca5dd1a02726d4f844af88fc Acked-by: Konrad Dybcio # qcom