Ver código fonte

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 <balajitk@ti.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Balaji T K 12 anos atrás
pai
commit
6a6caac6de
1 arquivos alterados com 0 adições e 7 exclusões
  1. 0 7
      drivers/mmc/host/omap_hsmmc.c

+ 0 - 7
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)