mmc: meson-gx: simplify usage of mmc_regulator_set_ocr
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 11 Mar 2023 22:27:18 +0000 (23:27 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 23 Mar 2023 10:36:34 +0000 (11:36 +0100)
commit2c52e002693dc51a789f54ce72e2f639d7cb1067
tree2ec91e6a3daf55380cf67cc253ffb8daf624de46
parent51dfc6142acecfea9bf2041ccadbc3438e31af56
mmc: meson-gx: simplify usage of mmc_regulator_set_ocr

After 087592395a96 ("mmc: core: Allow invalid regulator in
mmc_regulator_set_ocr()") we can remove the checks here.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://lore.kernel.org/r/858a592b-ebf4-99b4-74fc-21b4ad3382f8@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/meson-gx-mmc.c