mmc: host: omap_hsmmc: use mmc_regulator_get_supply() to get regulators
authorKishon Vijay Abraham I <kishon@ti.com>
Wed, 7 Jun 2017 08:36:11 +0000 (14:06 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 20 Jun 2017 08:30:41 +0000 (10:30 +0200)
commit13ab2a66d862e00f55ae0ba46e61117c50dbdb17
treeb018ea18f2bb84518005a4fcf5c5451313618abe
parent86d79da0aadde60e4f84fe8cf7a75d4db2a79968
mmc: host: omap_hsmmc: use mmc_regulator_get_supply() to get regulators

In preparation for using the generic mmc binding for io regulator
("vqmmc"), use mmc_regulator_get_supply() to get vmmc and vqmmc regulators.
Only if "vqmmc" regulator isn't found, fallback to use "vmmc_aux"
regulator.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/omap_hsmmc.c