buff[i] = sharpsl_read_jkvad(); mdelay(SHARPSL_CHECK_BATTERY_WAIT_TIME_JKVAD); 
buff[i] = sharpsl_read_acin(); mdelay(SHARPSL_CHECK_BATTERY_WAIT_TIME_ACIN); 
static int sharpsl_ac_check(void){	int temp, i, buff[5];	for (i=0; i<5; i++) {		buff[i] = sharpsl_read_jkvad();		mdelay(SHARPSL_CHECK_BATTERY_WAIT_TIME_JKVAD);	}	temp = get_select_val(buff);	dev_dbg(sharpsl_pm.dev, "AC Voltage: %d\n",temp);	if ((temp > SHARPSL_CHARGE_ON_JKVAD_HIGH) || (temp < SHARPSL_CHARGE_ON_JKVAD_LOW)) {		dev_err(sharpsl_pm.dev, "Error: AC check failed.\n");		return -1;	}	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/c5e1ae9729d97d3c543cc70d7865df1e724da0d0/sharpsl_pm.c/clean/arch/arm/mach-pxa/sharpsl_pm.c