Linux MultiMedia Card development
 help / color / mirror / Atom feed
* [RFC PATCH 00/11] mmc: rename mmc_can_* functions
@ 2025-04-01  9:58 Wolfram Sang
  2025-04-01  9:58 ` [RFC PATCH 01/11] mmc: rename mmc_can_discard() to mmc_card_can_discard() Wolfram Sang
                   ` (11 more replies)
  0 siblings, 12 replies; 15+ messages in thread
From: Wolfram Sang @ 2025-04-01  9:58 UTC (permalink / raw)
  To: linux-mmc; +Cc: Ulf Hansson

As mentioned in [1], here is a series which rename mmc_can_* functions
to names which include 'card' or 'host' in the name. I am only an
occasional MMC core hacker, and these namings would have made my life
quite easier in past times. So, here is my proposed change. Have a look
and let me know if you like it. Plain RFC for now. Notes:

* This series is based on [1] which needs changes. My idea would be to
  respin the series on rc1 right after it is out.
* I intentionally left mmc_can_retune() out because it seems more
  consistent with all the other mmc_*_retune() functions
* Builds fine locally, tested on a Renesas Salvator-X with R-Car M3-W.
  buildbots still need to check it, branch is here:
  git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git renesas/mmc/unbind-power-off

What do you think?


[1] https://lore.kernel.org/r/20250320140040.162416-1-ulf.hansson@linaro.org

Wolfram Sang (11):
  mmc: rename mmc_can_discard() to mmc_card_can_discard()
  mmc: rename mmc_can_erase() to mmc_card_can_erase()
  mmc: rename mmc_can_ext_csd() to mmc_card_can_ext_csd()
  mmc: rename mmc_can_poweroff_notify() to
    mmc_card_can_poweroff_notify()
  mmc: rename mmc_can_reset() to mmc_card_can_reset()
  mmc: rename mmc_can_sanitize() to mmc_card_can_sanitize()
  mmc: rename mmc_can_secure_erase_trim() to
    mmc_card_can_secure_erase_trim()
  mmc: rename mmc_can_sleep() to mmc_card_can_sleep()
  mmc: rename mmc_can_trim() to mmc_card_can_trim()
  mmc: rename mmc_can_gpio_cd() to mmc_host_can_gpio_cd()
  mmc: rename mmc_can_gpio_ro() to mmc_host_can_gpio_ro()

 drivers/mmc/core/block.c             |  6 ++--
 drivers/mmc/core/core.c              | 48 ++++++++++++----------------
 drivers/mmc/core/core.h              | 10 +++---
 drivers/mmc/core/mmc.c               | 30 ++++++++---------
 drivers/mmc/core/mmc_ops.c           |  6 ++--
 drivers/mmc/core/mmc_ops.h           |  2 +-
 drivers/mmc/core/mmc_test.c          | 12 +++----
 drivers/mmc/core/queue.c             |  6 ++--
 drivers/mmc/core/slot-gpio.c         |  8 ++---
 drivers/mmc/host/dw_mmc.c            |  6 ++--
 drivers/mmc/host/mtk-sd.c            |  2 +-
 drivers/mmc/host/renesas_sdhi_core.c |  2 +-
 drivers/mmc/host/sdhci-omap.c        |  2 +-
 drivers/mmc/host/sdhci.c             |  6 ++--
 drivers/mmc/host/sunplus-mmc.c       |  2 +-
 drivers/mmc/host/tmio_mmc_core.c     |  6 ++--
 include/linux/mmc/slot-gpio.h        |  4 +--
 17 files changed, 74 insertions(+), 84 deletions(-)

-- 
2.47.2


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2025-04-23 20:29 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-01  9:58 [RFC PATCH 00/11] mmc: rename mmc_can_* functions Wolfram Sang
2025-04-01  9:58 ` [RFC PATCH 01/11] mmc: rename mmc_can_discard() to mmc_card_can_discard() Wolfram Sang
2025-04-01  9:58 ` [RFC PATCH 02/11] mmc: rename mmc_can_erase() to mmc_card_can_erase() Wolfram Sang
2025-04-01  9:58 ` [RFC PATCH 03/11] mmc: rename mmc_can_ext_csd() to mmc_card_can_ext_csd() Wolfram Sang
2025-04-01  9:58 ` [RFC PATCH 04/11] mmc: rename mmc_can_poweroff_notify() to mmc_card_can_poweroff_notify() Wolfram Sang
2025-04-01  9:58 ` [RFC PATCH 05/11] mmc: rename mmc_can_reset() to mmc_card_can_reset() Wolfram Sang
2025-04-01  9:58 ` [RFC PATCH 06/11] mmc: rename mmc_can_sanitize() to mmc_card_can_sanitize() Wolfram Sang
2025-04-01  9:58 ` [RFC PATCH 07/11] mmc: rename mmc_can_secure_erase_trim() to mmc_card_can_secure_erase_trim() Wolfram Sang
2025-04-01  9:58 ` [RFC PATCH 08/11] mmc: rename mmc_can_sleep() to mmc_card_can_sleep() Wolfram Sang
2025-04-01  9:58 ` [RFC PATCH 09/11] mmc: rename mmc_can_trim() to mmc_card_can_trim() Wolfram Sang
2025-04-01  9:58 ` [RFC PATCH 10/11] mmc: rename mmc_can_gpio_cd() to mmc_host_can_gpio_cd() Wolfram Sang
2025-04-01  9:58 ` [RFC PATCH 11/11] mmc: rename mmc_can_gpio_ro() to mmc_host_can_gpio_ro() Wolfram Sang
2025-04-22 15:43 ` [RFC PATCH 00/11] mmc: rename mmc_can_* functions Ulf Hansson
2025-04-22 15:59   ` Wolfram Sang
2025-04-23 20:29   ` Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox