mmc: sdhci: Indicate that regulators may be absent
authorMark Brown <broonie@linaro.org>
Mon, 29 Jul 2013 20:52:55 +0000 (21:52 +0100)
committerMark Brown <broonie@linaro.org>
Wed, 31 Jul 2013 08:56:40 +0000 (09:56 +0100)
commit462849aad50fced728d82a2ddba1b9d348e32f67
tree7bb3590a9de97bd6417e31fc0ce1b59f3fc91d53
parentbc35d5ed5d14e63a4d6018098a129196ba4c44ae
mmc: sdhci: Indicate that regulators may be absent

Use regulator_get_optional() to tell the core that requests for regulators
can fail in a real system.

Signed-off-by: Mark Brown <broonie@linaro.org>
Acked-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci.c