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