mmc: omap_hsmmc: remove unused no_off
authorBalaji T K <balajitk@ti.com>
Sun, 20 Oct 2013 18:55:22 +0000 (00:25 +0530)
committerChris Ball <cjb@laptop.org>
Thu, 31 Oct 2013 00:26:22 +0000 (20:26 -0400)
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>
drivers/mmc/host/omap_hsmmc.c

index fbd2d89..540dead 100644 (file)
@@ -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)