mmc: sdhci: move regulator handling into sdhci_set_power()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 25 Apr 2014 12:00:01 +0000 (13:00 +0100)
committerChris Ball <chris@printf.net>
Thu, 22 May 2014 12:33:29 +0000 (08:33 -0400)
commite921a8b6c47012bef94fe778f6e00df4207d5ed9
tree77dabaaadb2d298b89a1d2e7acd630d5d64ee26e
parentb4f3b7c8b13c6f0f84781a5d07fa553b3df4dfe6
mmc: sdhci: move regulator handling into sdhci_set_power()

Move the regulator handling into sdhci_set_power() rather than being in
sdhci_do_set_ios().  This wraps all power control up into this function.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Tested-by: Markus Pargmann <mpa@pengutronix.de>
Tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <chris@printf.net>
drivers/mmc/host/sdhci.c
This page took 0.024311 seconds and 5 git commands to generate.