[PATCH 0/2] mmc: add helpers mmc_regulator_set_ocr_vmmc_up/off

Heiner Kallweit hkallweit1 at gmail.com
Wed Feb 15 12:08:36 PST 2023


A lot of drivers use this code, therefore let's factor it out to
helpers.

Heiner Kallweit (2):
  mmc: core: add helpers mmc_regulator_set_ocr_vmmc_up/off
  mmc: meson-gx: use new helpers mmc_regulator_set_ocr_vmmc_off/up

 drivers/mmc/host/meson-gx-mmc.c |  6 ++----
 include/linux/mmc/host.h        | 17 +++++++++++++++++
 2 files changed, 19 insertions(+), 4 deletions(-)

-- 
2.39.1




More information about the linux-arm-kernel mailing list