diff options
author | Mark Brown <broonie@linaro.org> | 2013-09-01 13:50:17 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-09-01 13:50:17 +0100 |
commit | f27a5fb424d4897edd3c7735ecf054ee57a5dbd0 (patch) | |
tree | a6bc4d322341ee1211657302f41614b52572b207 /drivers/mmc/host/dw_mmc.c | |
parent | 6979380d85fd9e1ff701021206b315fcd66b510e (diff) | |
parent | 9efdd27678ef5e22c27c230a08a211b702768f3a (diff) |
Merge remote-tracking branch 'regulator/topic/optional' into regulator-next
Diffstat (limited to 'drivers/mmc/host/dw_mmc.c')
-rw-r--r-- | drivers/mmc/host/dw_mmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index ee5f1676f14e..542407363dd2 100644 --- a/drivers/mmc/host/dw_mmc.c +++ b/drivers/mmc/host/dw_mmc.c @@ -2231,7 +2231,7 @@ int dw_mci_probe(struct dw_mci *host) } } - host->vmmc = devm_regulator_get(host->dev, "vmmc"); + host->vmmc = devm_regulator_get_optional(host->dev, "vmmc"); if (IS_ERR(host->vmmc)) { ret = PTR_ERR(host->vmmc); if (ret == -EPROBE_DEFER) |