mbox series

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

Message ID 02b46550-e0b5-4251-8156-56eb0f690d89@gmail.com (mailing list archive)
Headers show
Series mmc: add helpers mmc_regulator_set_ocr_vmmc_up/off | expand

Message

Heiner Kallweit Feb. 15, 2023, 8:08 p.m. UTC
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(-)