From: Binbin Zhou <zhoubinbin@loongson.cn>
To: Binbin Zhou <zhoubb.aaron@gmail.com>,
Huacai Chen <chenhuacai@loongson.cn>,
Ulf Hansson <ulf.hansson@linaro.org>,
Adrian Hunter <adrian.hunter@intel.com>
Cc: Huacai Chen <chenhuacai@kernel.org>,
linux-mmc@vger.kernel.org,
Andrew Jeffery <andrew@codeconstruct.com.au>,
Taichi Sugaya <sugaya.taichi@socionext.com>,
Takao Orito <orito.takao@socionext.com>,
Ben Dooks <ben-linux@fluff.org>,
Jaehoon Chung <jh80.chung@samsung.com>,
Florian Fainelli <florian.fainelli@broadcom.com>,
Ray Jui <rjui@broadcom.com>,
Scott Branden <sbranden@broadcom.com>,
Kamal Dasu <kamal.dasu@broadcom.com>,
Al Cooper <alcooperx@gmail.com>, Haibo Chen <haibo.chen@nxp.com>,
Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
imx@lists.linux.dev, Avi Fishman <avifishman70@gmail.com>,
Tomer Maimon <tmaimon77@gmail.com>,
Tali Perry <tali.perry1@gmail.com>,
Patrick Venture <venture@google.com>,
Nancy Yuen <yuenn@google.com>,
Benjamin Fair <benjaminfair@google.com>,
openbmc@lists.ozlabs.org, Michal Simek <michal.simek@amd.com>,
Joel Stanley <joel@jms.id.au>,
linux-aspeed@lists.ozlabs.org,
Aubin Constans <aubin.constans@microchip.com>,
Eugen Hristev <eugen.hristev@linaro.org>,
Nicolas Ferre <nicolas.ferre@microchip.com>,
Alexandre Belloni <alexandre.belloni@bootlin.com>,
Claudiu Beznea <claudiu.beznea@tuxon.dev>,
Yixun Lan <dlan@gentoo.org>,
linux-riscv@lists.infradead.org, spacemit@lists.linux.dev,
Jacky Huang <ychuang3@nuvoton.com>,
Shan-Chun Hung <schung@nuvoton.com>,
Steen Hegelund <Steen.Hegelund@microchip.com>,
Daniel Machon <daniel.machon@microchip.com>,
Vignesh Raghavendra <vigneshr@ti.com>,
Patrice Chotard <patrice.chotard@foss.st.com>,
Thierry Reding <thierry.reding@gmail.com>,
Jonathan Hunter <jonathanh@nvidia.com>,
linux-tegra@vger.kernel.org, Hu Ziji <huziji@marvell.com>,
Binbin Zhou <zhoubinbin@loongson.cn>
Subject: [PATCH v2 00/35] mmc: Cleanup sdhci_pltfm_free()/sdhci_free_host() usage
Date: Thu, 29 May 2025 20:56:10 +0800 [thread overview]
Message-ID: <cover.1748515612.git.zhoubinbin@loongson.cn> (raw)
Hi all:
After the first part of the cleanup[1], there are sdhci related
drivers that need further cleanup.
This patchset is the second part of the cleanup series, and since sdhci has
sdhci_alloc_host() as the general interface, our main job is to clean up
sdhci_pltfm_free() and sdhci_free_host().
[1]:https://lore.kernel.org/all/cover.1747877175.git.zhoubinbin@loongson.cn/
Thanks.
-----
V2:
- Collect Reviewed-by and Acked-by tags.
Patch-01:
- Set sdhci_free_host() to empty, rather than dropping it.
Patch-07:
- Set sdhci_pltfm_free() to empty, rather than dropping it.
Patch-22:
- As requested by Yixun, keep the goto scheme.
Patch-35:
- New patch;
- Since all calls have been cleaned up, sdhci_pltfm_free()/sdhci_free_host()
are now dropped directly;
Link to V1:
https://lore.kernel.org/all/cover.1747792905.git.zhoubinbin@loongson.cn/
Binbin Zhou (35):
mmc: sdhci: Use devm_mmc_alloc_host() helper
mmc: sdhci-acpi: Drop the use of sdhci_free_host()
mmc: sdhci-milbeaut: Drop the use of sdhci_free_host()
mmc: sdhci-pci: Drop the use of sdhci_free_host()
mmc: sdhci-s3c: Drop the use of sdhci_free_host()
mmc: sdhci-spear: Drop the use of sdhci_free_host()
mmc: sdhci-pltfm: Drop the use of sdhci_pltfm_free()
mmc: sdhci-bcm-kona: Drop the use of sdhci_pltfm_free()
mmc: sdhci-brcmstb: Drop the use of sdhci_pltfm_free()
mmc: sdhci-cadence: Drop the use of sdhci_pltfm_free()
mmc: sdhci-dove: Drop the use of sdhci_pltfm_free()
mmc: sdhci-esdhc-imx: Drop the use of sdhci_pltfm_free()
mmc: sdhci-esdhc-mcf: Drop the use of sdhci_pltfm_free()
mmc: sdhci-iproc: Drop the use of sdhci_pltfm_free()
mmc: sdhci-msm: Drop the use of sdhci_pltfm_free()
mmc: sdhci-npcm: Drop the use of sdhci_pltfm_free()
mmc: sdhci-of-arasan: Drop the use of sdhci_pltfm_free()
mmc: sdhci-of-aspeed: Drop the use of sdhci_pltfm_free()
mmc: sdhci-of-at91: Drop the use of sdhci_pltfm_free()
mmc: sdhci-of-dwcmshc: Drop the use of sdhci_pltfm_free()
mmc: sdhci-of-esdhc: Drop the use of sdhci_pltfm_free()
mmc: sdhci-of-k1: Drop the use of sdhci_pltfm_free()
mmc: sdhci-of-ma35d1: Drop the use of sdhci_pltfm_free()
mmc: sdhci-of-sparx5: Drop the use of sdhci_pltfm_free()
mmc: sdhci-omap: Drop the use of sdhci_pltfm_free()
mmc: sdhci-pic32: Drop the use of sdhci_pltfm_free()
mmc: sdhci-pxav2: Drop the use of sdhci_pltfm_free()
mmc: sdhci-pxav3: Drop the use of sdhci_pltfm_free()
mmc: sdhci-sprd: Drop the use of sdhci_pltfm_free()
mmc: sdhci-st: Drop the use of sdhci_pltfm_free()
mmc: sdhci-tegra: Drop the use of sdhci_pltfm_free()
mmc: sdhci-xenon: Drop the use of sdhci_pltfm_free()
mmc: sdhci_am654: Drop the use of sdhci_pltfm_free()
mmc: sdhci_f_sdh30: Drop the use of sdhci_pltfm_free()
mmc: sdhci: Drop sdhci_free_host()/sdhci_pltfm_free() definitions
drivers/mmc/host/sdhci-acpi.c | 3 ---
drivers/mmc/host/sdhci-bcm-kona.c | 2 --
drivers/mmc/host/sdhci-brcmstb.c | 1 -
drivers/mmc/host/sdhci-cadence.c | 21 ++++++------------
drivers/mmc/host/sdhci-dove.c | 12 ++---------
drivers/mmc/host/sdhci-esdhc-imx.c | 3 ---
drivers/mmc/host/sdhci-esdhc-mcf.c | 25 ++++++----------------
drivers/mmc/host/sdhci-iproc.c | 18 ++++------------
drivers/mmc/host/sdhci-milbeaut.c | 19 ++++++-----------
drivers/mmc/host/sdhci-msm.c | 11 ++++------
drivers/mmc/host/sdhci-npcm.c | 15 +++----------
drivers/mmc/host/sdhci-of-arasan.c | 26 +++++++----------------
drivers/mmc/host/sdhci-of-aspeed.c | 10 ++-------
drivers/mmc/host/sdhci-of-at91.c | 23 +++++++-------------
drivers/mmc/host/sdhci-of-dwcmshc.c | 14 +++++-------
drivers/mmc/host/sdhci-of-esdhc.c | 11 ++--------
drivers/mmc/host/sdhci-of-k1.c | 1 -
drivers/mmc/host/sdhci-of-ma35d1.c | 23 +++++++-------------
drivers/mmc/host/sdhci-of-sparx5.c | 24 +++++++--------------
drivers/mmc/host/sdhci-omap.c | 21 ++++++------------
drivers/mmc/host/sdhci-pci-core.c | 9 ++------
drivers/mmc/host/sdhci-pic32.c | 9 +++-----
drivers/mmc/host/sdhci-pltfm.c | 16 +-------------
drivers/mmc/host/sdhci-pltfm.h | 1 -
drivers/mmc/host/sdhci-pxav2.c | 26 ++++++-----------------
drivers/mmc/host/sdhci-pxav3.c | 7 +-----
drivers/mmc/host/sdhci-s3c.c | 16 ++++----------
drivers/mmc/host/sdhci-spear.c | 11 ++++------
drivers/mmc/host/sdhci-sprd.c | 33 +++++++++--------------------
drivers/mmc/host/sdhci-st.c | 6 ++----
drivers/mmc/host/sdhci-tegra.c | 9 +++-----
drivers/mmc/host/sdhci-xenon.c | 9 ++------
drivers/mmc/host/sdhci.c | 9 +-------
drivers/mmc/host/sdhci.h | 1 -
drivers/mmc/host/sdhci_am654.c | 20 ++++++-----------
drivers/mmc/host/sdhci_f_sdh30.c | 13 ++++--------
36 files changed, 129 insertions(+), 349 deletions(-)
base-commit: d2c6acff6386f43ed307822454b970c831c48f1b
--
2.47.1
next reply other threads:[~2025-05-29 12:56 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-29 12:56 Binbin Zhou [this message]
2025-05-29 12:57 ` [PATCH v2 01/35] mmc: sdhci: Use devm_mmc_alloc_host() helper Binbin Zhou
2025-05-29 12:58 ` [PATCH v2 02/35] mmc: sdhci-acpi: Drop the use of sdhci_free_host() Binbin Zhou
2025-05-29 12:58 ` [PATCH v2 03/35] mmc: sdhci-milbeaut: " Binbin Zhou
2025-05-29 12:58 ` [PATCH v2 04/35] mmc: sdhci-pci: " Binbin Zhou
2025-05-29 12:58 ` [PATCH v2 05/35] mmc: sdhci-s3c: " Binbin Zhou
2025-05-29 12:58 ` [PATCH v2 06/35] mmc: sdhci-spear: " Binbin Zhou
2025-05-29 12:58 ` [PATCH v2 07/35] mmc: sdhci-pltfm: Drop the use of sdhci_pltfm_free() Binbin Zhou
2025-05-29 12:59 ` [PATCH v2 08/35] mmc: sdhci-bcm-kona: " Binbin Zhou
2025-05-29 12:59 ` [PATCH v2 09/35] mmc: sdhci-brcmstb: " Binbin Zhou
2025-05-29 12:59 ` [PATCH v2 10/35] mmc: sdhci-cadence: " Binbin Zhou
2025-05-29 12:59 ` [PATCH v2 11/35] mmc: sdhci-dove: " Binbin Zhou
2025-05-29 12:59 ` [PATCH v2 12/35] mmc: sdhci-esdhc-imx: " Binbin Zhou
2025-05-30 2:31 ` Bough Chen
2025-05-29 12:59 ` [PATCH v2 13/35] mmc: sdhci-esdhc-mcf: " Binbin Zhou
2025-05-29 12:59 ` [PATCH v2 14/35] mmc: sdhci-iproc: " Binbin Zhou
2025-05-29 12:59 ` [PATCH v2 15/35] mmc: sdhci-msm: " Binbin Zhou
2025-05-29 12:59 ` [PATCH v2 16/35] mmc: sdhci-npcm: " Binbin Zhou
2025-05-29 12:59 ` [PATCH v2 17/35] mmc: sdhci-of-arasan: " Binbin Zhou
2025-05-29 13:00 ` [PATCH v2 18/35] mmc: sdhci-of-aspeed: " Binbin Zhou
2025-05-29 13:00 ` [PATCH v2 19/35] mmc: sdhci-of-at91: " Binbin Zhou
2025-06-02 16:09 ` Aubin Constans
2025-06-03 7:25 ` Binbin Zhou
2025-05-29 13:00 ` [PATCH v2 20/35] mmc: sdhci-of-dwcmshc: " Binbin Zhou
2025-05-29 13:00 ` [PATCH v2 21/35] mmc: sdhci-of-esdhc: " Binbin Zhou
2025-05-29 13:00 ` [PATCH v2 22/35] mmc: sdhci-of-k1: " Binbin Zhou
2025-05-29 15:23 ` Yixun Lan
2025-05-29 13:11 ` [PATCH v2 23/35] mmc: sdhci-of-ma35d1: " Binbin Zhou
2025-05-29 13:14 ` [PATCH v2 24/35] mmc: sdhci-of-sparx5: " Binbin Zhou
2025-05-29 13:16 ` [PATCH v2 25/35] mmc: sdhci-omap: " Binbin Zhou
2025-05-29 13:17 ` [PATCH v2 26/35] mmc: sdhci-pic32: " Binbin Zhou
2025-05-29 13:19 ` [PATCH v2 27/35] mmc: sdhci-pxav2: " Binbin Zhou
2025-05-29 13:20 ` [PATCH v2 28/35] mmc: sdhci-pxav3: " Binbin Zhou
2025-05-29 13:21 ` [PATCH v2 29/35] mmc: sdhci-sprd: " Binbin Zhou
2025-05-29 13:22 ` [PATCH v2 30/35] mmc: sdhci-st: " Binbin Zhou
2025-05-29 13:23 ` [PATCH v2 31/35] mmc: sdhci-tegra: " Binbin Zhou
2025-05-29 13:24 ` [PATCH v2 32/35] mmc: sdhci-xenon: " Binbin Zhou
2025-05-30 0:20 ` kernel test robot
2025-06-02 6:48 ` Dan Carpenter
2025-05-29 13:25 ` [PATCH v2 33/35] mmc: sdhci_am654: " Binbin Zhou
2025-05-29 13:26 ` [PATCH v2 34/35] mmc: sdhci_f_sdh30: " Binbin Zhou
2025-05-29 13:28 ` [PATCH v2 35/35] mmc: sdhci: Drop sdhci_free_host()/sdhci_pltfm_free() definitions Binbin Zhou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1748515612.git.zhoubinbin@loongson.cn \
--to=zhoubinbin@loongson.cn \
--cc=Steen.Hegelund@microchip.com \
--cc=adrian.hunter@intel.com \
--cc=alcooperx@gmail.com \
--cc=alexandre.belloni@bootlin.com \
--cc=andrew@codeconstruct.com.au \
--cc=aubin.constans@microchip.com \
--cc=avifishman70@gmail.com \
--cc=ben-linux@fluff.org \
--cc=benjaminfair@google.com \
--cc=chenhuacai@kernel.org \
--cc=chenhuacai@loongson.cn \
--cc=claudiu.beznea@tuxon.dev \
--cc=daniel.machon@microchip.com \
--cc=dlan@gentoo.org \
--cc=eugen.hristev@linaro.org \
--cc=festevam@gmail.com \
--cc=florian.fainelli@broadcom.com \
--cc=haibo.chen@nxp.com \
--cc=huziji@marvell.com \
--cc=imx@lists.linux.dev \
--cc=jh80.chung@samsung.com \
--cc=joel@jms.id.au \
--cc=jonathanh@nvidia.com \
--cc=kamal.dasu@broadcom.com \
--cc=linux-aspeed@lists.ozlabs.org \
--cc=linux-mmc@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=linux-tegra@vger.kernel.org \
--cc=michal.simek@amd.com \
--cc=nicolas.ferre@microchip.com \
--cc=openbmc@lists.ozlabs.org \
--cc=orito.takao@socionext.com \
--cc=patrice.chotard@foss.st.com \
--cc=rjui@broadcom.com \
--cc=s.hauer@pengutronix.de \
--cc=sbranden@broadcom.com \
--cc=schung@nuvoton.com \
--cc=shawnguo@kernel.org \
--cc=spacemit@lists.linux.dev \
--cc=sugaya.taichi@socionext.com \
--cc=tali.perry1@gmail.com \
--cc=thierry.reding@gmail.com \
--cc=tmaimon77@gmail.com \
--cc=ulf.hansson@linaro.org \
--cc=venture@google.com \
--cc=vigneshr@ti.com \
--cc=ychuang3@nuvoton.com \
--cc=yuenn@google.com \
--cc=zhoubb.aaron@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).