Linux MultiMedia Card development
 help / color / mirror / Atom feed
From: Binbin Zhou <zhoubinbin@loongson.cn>
To: Binbin Zhou <zhoubb.aaron@gmail.com>,
	Huacai Chen <chenhuacai@loongson.cn>,
	Ulf Hansson <ulf.hansson@linaro.org>
Cc: Huacai Chen <chenhuacai@kernel.org>,
	linux-mmc@vger.kernel.org, Binbin Zhou <zhoubinbin@loongson.cn>
Subject: [PATCH v3 00/36] mmc: Cleanup mmc_alloc_host() usage
Date: Tue,  3 Jun 2025 20:25:12 +0800	[thread overview]
Message-ID: <cover.1748933789.git.zhoubinbin@loongson.cn> (raw)

Hi all:

Since the devm_mmc_alloc_host() helper was already available, I tried to
start cleaning up the use of mmc_alloc_host().

To make it easier to review the patchset, I decided to split it into two parts.
As the first part, this patchset contains cleanup for drivers other than sdhci.

Of course, the sdhci part I have ready in my repository.

Thanks.

-----
V3:
- Collect Reviewed-by and Acked-by tags.
Patch-18
  - Fix build warning by lkp:
	https://lore.kernel.org/all/202505230421.P12fqPfB-lkp@intel.com/

Link to V2:
https://lore.kernel.org/all/cover.1747877175.git.zhoubinbin@loongson.cn/

V2:
- Collect Reviewed-by and Acked-by tags.
Patch-24
  - Correct subject title: ish_mmicf -> sh_mmicf.
Patch-34
  - Fix cheap build error.

Link to V1:
https://lore.kernel.org/all/cover.1747739323.git.zhoubinbin@loongson.cn/

Binbin Zhou (36):
  mmc: alcor: Use devm_mmc_alloc_host() helper
  mmc: atmel: Use devm_mmc_alloc_host() helper
  mmc: au1xmmc: Use devm_mmc_alloc_host() helper
  mmc: bcm2835: Use devm_mmc_alloc_host() helper
  mmc: cavium: Use devm_mmc_alloc_host() helper
  mmc: cb710: Use devm_mmc_alloc_host() helper
  mmc: davinci_mmc: Use devm_mmc_alloc_host() helper
  mmc: dw_mmc: Use devm_mmc_alloc_host() helper
  mmc: jz4740: Use devm_mmc_alloc_host() helper
  mmc: litex_mmc: Use devm_mmc_alloc_host() helper
  mmc: meson-mx-sdhc: Use devm_mmc_alloc_host() helper
  mmc: mmci: Use devm_mmc_alloc_host() helper
  mmc: moxart-mmc: Use devm_mmc_alloc_host() helper
  mmc: mvsdio: Use devm_mmc_alloc_host() helper
  mmc: mxcmmc: Use devm_mmc_alloc_host() helper
  mmc: mxs-mmc: Use devm_mmc_alloc_host() helper
  mmc: omap: Use devm_mmc_alloc_host() helper
  mmc: omap_hsmmc: Use devm_mmc_alloc_host() helper
  mmc: owl-mmc: Use devm_mmc_alloc_host() helper
  mmc: pxamci: Use devm_mmc_alloc_host() helper
  mmc: rtsx_pci: Use devm_mmc_alloc_host() helper
  mmc: rtsx_usb_sdmmc: Use devm_mmc_alloc_host() helper
  mmc: sdricoh_cs: Use devm_mmc_alloc_host() helper
  mmc: sh_mmicf: Use devm_mmc_alloc_host() helper
  mmc: tifm_sd: Use devm_mmc_alloc_host() helper
  mmc: toshsd: Use devm_mmc_alloc_host() helper
  mmc: usdhi6ro10: Use devm_mmc_alloc_host() helper
  mmc: ushc: Use devm_mmc_alloc_host() helper
  mmc: via-sdmmc: Use devm_mmc_alloc_host() helper
  mmc: vub300: Use devm_mmc_alloc_host() helper
  mmc: wbsd: Use devm_mmc_alloc_host() helper
  mmc: wmt-sdmmc: Use devm_mmc_alloc_host() helper
  mmc: tmio: Use devm_mmc_alloc_host() helper
  mmc: sunxi: Use devm_mmc_alloc_host() helper
  mmc: mmc_spi: Use devm_mmc_alloc_host() helper
  mmc: meson-mx-sdio: Use devm_mmc_alloc_host() helper

 drivers/mmc/host/alcor.c             | 20 ++++---------
 drivers/mmc/host/atmel-mci.c         |  7 ++---
 drivers/mmc/host/au1xmmc.c           | 14 +++-------
 drivers/mmc/host/bcm2835.c           |  5 +---
 drivers/mmc/host/cavium.c            | 10 ++-----
 drivers/mmc/host/cb710-mmc.c         |  5 +---
 drivers/mmc/host/davinci_mmc.c       | 22 +++++----------
 drivers/mmc/host/dw_mmc.c            | 15 ++++------
 drivers/mmc/host/jz4740_mmc.c        | 40 +++++++++-----------------
 drivers/mmc/host/litex_mmc.c         | 12 +-------
 drivers/mmc/host/meson-mx-sdhc-mmc.c | 13 +--------
 drivers/mmc/host/meson-mx-sdio.c     | 20 ++++++-------
 drivers/mmc/host/mmc_spi.c           |  4 +--
 drivers/mmc/host/mmci.c              | 31 ++++++++------------
 drivers/mmc/host/moxart-mmc.c        | 40 ++++++++++----------------
 drivers/mmc/host/mvsdio.c            | 24 +++++-----------
 drivers/mmc/host/mxcmmc.c            | 31 +++++++-------------
 drivers/mmc/host/mxs-mmc.c           | 31 ++++++++------------
 drivers/mmc/host/omap.c              | 25 ++++++-----------
 drivers/mmc/host/omap_hsmmc.c        | 17 ++++-------
 drivers/mmc/host/owl-mmc.c           | 37 +++++++++---------------
 drivers/mmc/host/pxamci.c            | 42 ++++++++++------------------
 drivers/mmc/host/renesas_sdhi_core.c |  6 +---
 drivers/mmc/host/rtsx_pci_sdmmc.c    |  5 +---
 drivers/mmc/host/rtsx_usb_sdmmc.c    |  4 +--
 drivers/mmc/host/sdricoh_cs.c        | 10 ++-----
 drivers/mmc/host/sh_mmcif.c          | 17 ++++-------
 drivers/mmc/host/sunxi-mmc.c         | 22 ++++++---------
 drivers/mmc/host/tifm_sd.c           |  7 +----
 drivers/mmc/host/tmio_mmc.h          |  1 -
 drivers/mmc/host/tmio_mmc_core.c     | 18 ++----------
 drivers/mmc/host/toshsd.c            |  4 +--
 drivers/mmc/host/uniphier-sd.c       |  8 ++----
 drivers/mmc/host/usdhi6rol0.c        | 30 +++++++-------------
 drivers/mmc/host/ushc.c              |  4 +--
 drivers/mmc/host/via-sdmmc.c         |  7 ++---
 drivers/mmc/host/vub300.c            | 16 ++++-------
 drivers/mmc/host/wbsd.c              |  4 +--
 drivers/mmc/host/wmt-sdmmc.c         |  8 ++----
 39 files changed, 195 insertions(+), 441 deletions(-)


base-commit: d2c6acff6386f43ed307822454b970c831c48f1b
-- 
2.47.1


             reply	other threads:[~2025-06-03 12:25 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-03 12:25 Binbin Zhou [this message]
2025-06-03 12:25 ` [PATCH v3 01/36] mmc: alcor: Use devm_mmc_alloc_host() helper Binbin Zhou
2025-06-03 12:25 ` [PATCH v3 02/36] mmc: atmel: " Binbin Zhou
2025-06-10  9:21   ` Aubin Constans
2025-06-03 12:25 ` [PATCH v3 03/36] mmc: au1xmmc: " Binbin Zhou
2025-06-03 13:34   ` Manuel Lauss
2025-06-03 12:25 ` [PATCH v3 04/36] mmc: bcm2835: " Binbin Zhou
2025-06-03 12:25 ` [PATCH v3 05/36] mmc: cavium: " Binbin Zhou
2025-06-03 12:25 ` [PATCH v3 06/36] mmc: cb710: " Binbin Zhou
2025-06-03 12:25 ` [PATCH v3 07/36] mmc: davinci_mmc: " Binbin Zhou
2025-06-03 12:25 ` [PATCH v3 08/36] mmc: dw_mmc: " Binbin Zhou
2025-06-03 12:25 ` [PATCH v3 09/36] mmc: jz4740: " Binbin Zhou
2025-06-03 12:26 ` [PATCH v3 10/36] mmc: litex_mmc: " Binbin Zhou
2025-06-03 12:26 ` [PATCH v3 11/36] mmc: meson-mx-sdhc: " Binbin Zhou
2025-06-03 20:02   ` Martin Blumenstingl
2025-06-03 12:26 ` [PATCH v3 12/36] mmc: mmci: " Binbin Zhou
2025-06-03 12:26 ` [PATCH v3 13/36] mmc: moxart-mmc: " Binbin Zhou
2025-06-03 12:26 ` [PATCH v3 14/36] mmc: mvsdio: " Binbin Zhou
2025-06-03 12:26 ` [PATCH v3 15/36] mmc: mxcmmc: " Binbin Zhou
2025-06-03 12:26 ` [PATCH v3 16/36] mmc: mxs-mmc: " Binbin Zhou
2025-06-03 12:26 ` [PATCH v3 17/36] mmc: omap: " Binbin Zhou
2025-06-03 12:27 ` [PATCH v3 18/36] mmc: omap_hsmmc: " Binbin Zhou
2025-06-03 12:27 ` [PATCH v3 19/36] mmc: owl-mmc: " Binbin Zhou
2025-06-03 12:27 ` [PATCH v3 20/36] mmc: pxamci: " Binbin Zhou
2025-06-03 12:27 ` [PATCH v3 21/36] mmc: rtsx_pci: " Binbin Zhou
2025-06-03 12:27 ` [PATCH v3 22/36] mmc: rtsx_usb_sdmmc: " Binbin Zhou
2025-06-03 12:27 ` [PATCH v3 23/36] mmc: sdricoh_cs: " Binbin Zhou
2025-06-03 12:27 ` [PATCH v3 24/36] mmc: sh_mmicf: " Binbin Zhou
2025-06-03 12:27 ` [PATCH v3 25/36] mmc: tifm_sd: " Binbin Zhou
2025-06-03 12:27 ` [PATCH v3 26/36] mmc: toshsd: " Binbin Zhou
2025-06-03 12:27 ` [PATCH v3 27/36] mmc: usdhi6ro10: " Binbin Zhou
2025-06-03 12:27 ` [PATCH v3 28/36] mmc: ushc: " Binbin Zhou
2025-06-03 12:27 ` [PATCH v3 29/36] mmc: via-sdmmc: " Binbin Zhou
2025-06-03 12:28 ` [PATCH v3 30/36] mmc: vub300: " Binbin Zhou
2025-06-03 12:28 ` [PATCH v3 31/36] mmc: wbsd: " Binbin Zhou
2025-06-03 12:28 ` [PATCH v3 32/36] mmc: wmt-sdmmc: " Binbin Zhou
2025-06-03 12:28 ` [PATCH v3 33/36] mmc: tmio: " Binbin Zhou
2025-06-03 12:28 ` [PATCH v3 34/36] mmc: sunxi: " Binbin Zhou
2025-06-03 12:28 ` [PATCH v3 35/36] mmc: mmc_spi: " Binbin Zhou
2025-06-03 12:28 ` [PATCH v3 36/36] mmc: meson-mx-sdio: " Binbin Zhou
2025-06-03 20:02   ` Martin Blumenstingl
2025-06-03 20:49   ` Martin Blumenstingl
2025-06-04  3:02     ` Binbin Zhou
2025-06-04 19:37       ` Martin Blumenstingl
2025-06-19 11:19 ` [PATCH v3 00/36] mmc: Cleanup mmc_alloc_host() usage Ulf Hansson

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.1748933789.git.zhoubinbin@loongson.cn \
    --to=zhoubinbin@loongson.cn \
    --cc=chenhuacai@kernel.org \
    --cc=chenhuacai@loongson.cn \
    --cc=linux-mmc@vger.kernel.org \
    --cc=ulf.hansson@linaro.org \
    --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