mmc: core: Indicate that vmmcq may be absent
authorMark Brown <broonie@linaro.org>
Mon, 29 Jul 2013 20:58:01 +0000 (21:58 +0100)
committerlintao <lintao@rock-chips.com>
Fri, 7 Mar 2014 05:41:38 +0000 (13:41 +0800)
commit57670402bd199e28eff4edb50469182c4e2a3b9f
tree9d9b32ea8566d6077ba320e5e3517a8172426831
parentaf98bcd3c1a9302ae21cec76cb4f731169bf80ec
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