Skip to contentSkip to conversation

msm_sdcc.c: remove references to htc_pwrsink

PATCH Pavel Machek 1 participant 1 message Oct 22, 2009 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

htc_pwrsing code never went to mainline, remove references to it.

drivers/mmc/host/msm_sdcc.c +0 -3
index dba4600..64d4e48 100644
@@ -41,7 +41,6 @@
 #include <asm/mach/mmc.h>
 #include <mach/msm_iomap.h>
 #include <mach/dma.h>
-#include <mach/htc_pwrsink.h>
 
 #include "msm_sdcc.h"
 
@@ -775,13 +774,11 @@ msmsdcc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
 
 	switch (ios->power_mode) {
 	case MMC_POWER_OFF:
-		htc_pwrsink_set(PWRSINK_SDCARD, 0);
 		break;
 	case MMC_POWER_UP:
 		pwr |= MCI_PWR_UP;
 		break;
 	case MMC_POWER_ON:
-		htc_pwrsink_set(PWRSINK_SDCARD, 100);
 		pwr |= MCI_PWR_ON;
 		break;
 	}
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html