summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2016-12-30 13:47:16 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2017-02-13 13:19:57 +0100
commit95cc4df716a210a19f0611215c49484d460250fd (patch)
tree12451b1ae366a9f27bc679139c6aee53f08bb3a6 /drivers
parentmmc: Removed the unused public mmc boot.h header (diff)
downloadlinux-95cc4df716a210a19f0611215c49484d460250fd.tar.xz
linux-95cc4df716a210a19f0611215c49484d460250fd.zip
mmc: sh_mmcif: Remove unused use_cd_gpio/cd_gpio from platform data
Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/host/sh_mmcif.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/mmc/host/sh_mmcif.c b/drivers/mmc/host/sh_mmcif.c
index 900778421be6..5f970550d44e 100644
--- a/drivers/mmc/host/sh_mmcif.c
+++ b/drivers/mmc/host/sh_mmcif.c
@@ -1509,12 +1509,6 @@ static int sh_mmcif_probe(struct platform_device *pdev)
}
}
- if (pd && pd->use_cd_gpio) {
- ret = mmc_gpio_request_cd(mmc, pd->cd_gpio, 0);
- if (ret < 0)
- goto err_clk;
- }
-
mutex_init(&host->thread_lock);
ret = mmc_add_host(mmc);