From 6a6caac6debac9c63a3a77269db8820b81bec143 Mon Sep 17 00:00:00 2001 From: Balaji T K Date: Mon, 21 Oct 2013 00:25:22 +0530 Subject: [PATCH] mmc: omap_hsmmc: remove unused no_off With lazy disable gone, no_off is not used any more in omap_hsmmc Signed-off-by: Balaji T K Signed-off-by: Chris Ball --- drivers/mmc/host/omap_hsmmc.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index fbd2d89..540dead 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++ b/drivers/mmc/host/omap_hsmmc.c @@ -1827,13 +1827,6 @@ static int omap_hsmmc_probe(struct platform_device *pdev) mmc->ops = &omap_hsmmc_ops; - /* - * If regulator_disable can only put vcc_aux to sleep then there is - * no off state. - */ - if (mmc_slot(host).vcc_aux_disable_is_sleep) - mmc_slot(host).no_off = 1; - mmc->f_min = OMAP_MMC_MIN_CLOCK; if (pdata->max_freq > 0) -- 2.7.4