mmc: core: Indicate that vmmcq may be absent
authorMark Brown <broonie@linaro.org>
Mon, 29 Jul 2013 20:58:01 +0000 (21:58 +0100)
committerMark Brown <broonie@linaro.org>
Wed, 31 Jul 2013 08:56:39 +0000 (09:56 +0100)
commitbc35d5ed5d14e63a4d6018098a129196ba4c44ae
treedf179e2bf45688bc95b77ecdb7b3abd18503a030
parentde1dd9fd2156874b45803299b3b27e65d5defdd9
mmc: core: Indicate that vmmcq may be absent

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

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