]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitff1343e56f09e80a5966b01853058929c215b547
tree7bb3590a9de97bd6417e31fc0ce1b59f3fc91d53
parentf0ec7f32886b563cc8ab92bbc5e59afbcc41ad5a
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