From: Tim Kryger Date: Fri, 13 Jun 2014 17:13:56 +0000 (-0700) Subject: mmc: sdhci: Use mmc core regulator infrastucture X-Git-Tag: omap-for-v3.17/fixes-against-rc2~73^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a48edc4bd68f841c07c7bc86358d2f02133f247;p=pandora-kernel.git mmc: sdhci: Use mmc core regulator infrastucture Switch the common SDHCI code over to use mmc_host's regulator pointers and remove the ones in the sdhci_host structure. Additionally, use the common mmc_regulator_get_supply function to get the regulators and set the ocr_avail mask. This change sets the ocr_avail directly based upon the voltage ranges supported which ensures ocr_avail is set correctly while allowing the use of regulators that can't provide exactly 1.8v, 3.0v, or 3.3v. Signed-off-by: Tim Kryger Signed-off-by: Markus Mayer Reviewed-by: Matt Porter Signed-off-by: Ulf Hansson --- Reading git-diff-tree failed