mmc: dw_mmc: use mmc_regulator_get_supply to handle regulators
authorYuvaraj CD <yuvaraj.cd@gmail.com>
Fri, 22 Aug 2014 13:47:50 +0000 (19:17 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 9 Sep 2014 11:59:18 +0000 (13:59 +0200)
This patch makes use of mmc_regulator_get_supply() to handle
the vmmc and vqmmc regulators.Also it moves the code handling
the these regulators to dw_mci_set_ios().It turned on the vmmc
and vqmmc during MMC_POWER_UP and MMC_POWER_ON,and turned off
during MMC_POWER_OFF.

Signed-off-by: Yuvaraj Kumar C D <yuvaraj.cd@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/dw_mmc.c
include/linux/mmc/dw_mmc.h

Simple merge
Simple merge