linux/drivers/mmc
Kishon Vijay Abraham I 7d607f9170 mmc: host: omap_hsmmc: use devm_regulator_get_optional() for vmmc
Since vmmc can be optional for some platforms, use
devm_regulator_get_optional() for vmmc. Now return error only
if the return value of devm_regulator_get_optional() is not the
same as -ENODEV, since with -EPROBE_DEFER, the regulator can be
obtained later and all other errors are fatal.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Tested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2015-08-27 14:54:05 +02:00
..
card mmc: block: skip trim for some kingston eMMCs 2015-08-27 14:50:52 +02:00
core mmc: block: skip trim for some kingston eMMCs 2015-08-27 14:50:52 +02:00
host mmc: host: omap_hsmmc: use devm_regulator_get_optional() for vmmc 2015-08-27 14:54:05 +02:00
Kconfig mmc: explicitly mention SDIO support in Kconfig 2008-10-12 11:04:36 +02:00
Makefile mmc: sdhci-pci: add platform data 2012-01-11 23:58:47 -05:00