[PATCH 0/2] mmc: add and use devm_mmc_alloc_host

Heiner Kallweit hkallweit1 at gmail.com
Fri Feb 3 15:50:38 PST 2023


Add and use a device-managed version of mmc_alloc_host.

Heiner Kallweit (2):
  mmc: core: add devm_mmc_alloc_host
  mmc: meson-gx: use devm_mmc_alloc_host

 drivers/mmc/core/host.c         | 26 +++++++++++++++++
 drivers/mmc/host/meson-gx-mmc.c | 52 +++++++++++----------------------
 include/linux/mmc/host.h        |  1 +
 3 files changed, 44 insertions(+), 35 deletions(-)

-- 
2.39.1




More information about the linux-arm-kernel mailing list