"for %s fan.\n", fan?"GPU":"CPU"); 
"for %s fan.\n", sensor_location[fan+1]); 
static void write_fan_speed(struct thermostat *th, int speed, int fan){	u8 manual;		if (speed > 0xff) 		speed = 0xff;	else if (speed < -1) 		speed = 0;		if (therm_type == ADT7467 && fan == 1)		return;		if (th->last_speed[fan] != speed) {		if (speed == -1)			printk(KERN_DEBUG "adt746x: Setting speed to automatic "				"for %s fan.\n", fan?"GPU":"CPU");		else			printk(KERN_DEBUG "adt746x: Setting speed to %d "				"for %s fan.\n", speed, fan?"GPU":"CPU");	} else		return;		if (speed >= 0) {		manual = read_reg(th, MANUAL_MODE[fan]);		write_reg(th, MANUAL_MODE[fan], manual|MANUAL_MASK);		write_reg(th, FAN_SPD_SET[fan], speed);	} else {		/* back to automatic */		if(therm_type == ADT7460) {			manual = read_reg(th,				MANUAL_MODE[fan]) & (~MANUAL_MASK);			write_reg(th,				MANUAL_MODE[fan], manual|REM_CONTROL[fan]);		} else {			manual = read_reg(th, MANUAL_MODE[fan]);			write_reg(th, MANUAL_MODE[fan], manual&(~AUTO_MASK));		}	}		th->last_speed[fan] = speed;			}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/d20c507f28dbee33086e8212b98f9ddc5372cd81/therm_adt746x.c/clean/drivers/macintosh/therm_adt746x.c