aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sunxi-mmc.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2017-10-08 16:50:08 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2017-10-30 11:46:03 +0100
commitaaab3c46557029b760a476d5afc070a55df935b4 (patch)
tree9fe232a2e5bb90590501ac1031fbd99ed6e8e937 /drivers/mmc/host/sunxi-mmc.c
parentmmc: meson-mx-sdio: Add a driver for the Amlogic Meson8 and Meson8b SoCs (diff)
downloadlinux-dev-aaab3c46557029b760a476d5afc070a55df935b4.tar.xz
linux-dev-aaab3c46557029b760a476d5afc070a55df935b4.zip
mmc: sunxi: drop superfluous error message
This error message can go because a) currently nothing else than EPROBE_DEFER is returned and b) if this is going to change a much more detailed error message should come from mmc_regulator_get_supply() anyhow. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/sunxi-mmc.c')
-rw-r--r--drivers/mmc/host/sunxi-mmc.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/mmc/host/sunxi-mmc.c b/drivers/mmc/host/sunxi-mmc.c
index 53c970fe0873..cc98355dbdb9 100644
--- a/drivers/mmc/host/sunxi-mmc.c
+++ b/drivers/mmc/host/sunxi-mmc.c
@@ -1175,11 +1175,8 @@ static int sunxi_mmc_resource_request(struct sunxi_mmc_host *host,
return -EINVAL;
ret = mmc_regulator_get_supply(host->mmc);
- if (ret) {
- if (ret != -EPROBE_DEFER)
- dev_err(&pdev->dev, "Could not get vmmc supply\n");
+ if (ret)
return ret;
- }
host->reg_base = devm_ioremap_resource(&pdev->dev,
platform_get_resource(pdev, IORESOURCE_MEM, 0));