if ((data->type != w83782d) && (data->type != w83697hf) 
if ((data->type != w83782d) 
static struct w83781d_data *w83781d_update_device(struct device *dev){	struct i2c_client *client = to_i2c_client(dev);	struct w83781d_data *data = i2c_get_clientdata(client);	int i;	down(&data->update_lock);	if (time_after(jiffies, data->last_updated + HZ + HZ / 2)	    || !data->valid) {		dev_dbg(dev, "Starting device update\n");		for (i = 0; i <= 8; i++) {			if ((data->type == w83783s || data->type == w83697hf)			    && (i == 1))				continue;	/* 783S has no in1 */			data->in[i] =			    w83781d_read_value(client, W83781D_REG_IN(i));			data->in_min[i] =			    w83781d_read_value(client, W83781D_REG_IN_MIN(i));			data->in_max[i] =			    w83781d_read_value(client, W83781D_REG_IN_MAX(i));			if ((data->type != w83782d) && (data->type != w83697hf)			    && (data->type != w83627hf) && (i == 6))				break;		}		for (i = 1; i <= 3; i++) {			data->fan[i - 1] =			    w83781d_read_value(client, W83781D_REG_FAN(i));			data->fan_min[i - 1] =			    w83781d_read_value(client, W83781D_REG_FAN_MIN(i));		}		if (data->type != w83781d && data->type != as99127f) {			for (i = 1; i <= 4; i++) {				data->pwm[i - 1] =				    w83781d_read_value(client,						       W83781D_REG_PWM(i));				if ((data->type != w83782d				     || i2c_is_isa_client(client))				    && i == 2)					break;			}			/* Only PWM2 can be disabled */			data->pwmenable[1] = (w83781d_read_value(client,					      W83781D_REG_PWMCLK12) & 0x08) >> 3;		}		data->temp = w83781d_read_value(client, W83781D_REG_TEMP(1));		data->temp_max =		    w83781d_read_value(client, W83781D_REG_TEMP_OVER(1));		data->temp_max_hyst =		    w83781d_read_value(client, W83781D_REG_TEMP_HYST(1));		data->temp_add[0] =		    w83781d_read_value(client, W83781D_REG_TEMP(2));		data->temp_max_add[0] =		    w83781d_read_value(client, W83781D_REG_TEMP_OVER(2));		data->temp_max_hyst_add[0] =		    w83781d_read_value(client, W83781D_REG_TEMP_HYST(2));		if (data->type != w83783s && data->type != w83697hf) {			data->temp_add[1] =			    w83781d_read_value(client, W83781D_REG_TEMP(3));			data->temp_max_add[1] =			    w83781d_read_value(client,					       W83781D_REG_TEMP_OVER(3));			data->temp_max_hyst_add[1] =			    w83781d_read_value(client,					       W83781D_REG_TEMP_HYST(3));		}		i = w83781d_read_value(client, W83781D_REG_VID_FANDIV);		if (data->type != w83697hf) {			data->vid = i & 0x0f;			data->vid |=			    (w83781d_read_value(client, W83781D_REG_CHIPID) &			     0x01)			    << 4;		}		data->fan_div[0] = (i >> 4) & 0x03;		data->fan_div[1] = (i >> 6) & 0x03;		if (data->type != w83697hf) {			data->fan_div[2] = (w83781d_read_value(client,							       W83781D_REG_PIN)					    >> 6) & 0x03;		}		if ((data->type != w83781d) && (data->type != as99127f)) {			i = w83781d_read_value(client, W83781D_REG_VBAT);			data->fan_div[0] |= (i >> 3) & 0x04;			data->fan_div[1] |= (i >> 4) & 0x04;			if (data->type != w83697hf)				data->fan_div[2] |= (i >> 5) & 0x04;		}		data->alarms =		    w83781d_read_value(client,				       W83781D_REG_ALARM1) +		    (w83781d_read_value(client, W83781D_REG_ALARM2) << 8);		if ((data->type == w83782d) || (data->type == w83627hf)) {			data->alarms |=			    w83781d_read_value(client,					       W83781D_REG_ALARM3) << 16;		}		i = w83781d_read_value(client, W83781D_REG_BEEP_INTS2);		data->beep_enable = i >> 7;		data->beep_mask = ((i & 0x7f) << 8) +		    w83781d_read_value(client, W83781D_REG_BEEP_INTS1);		if ((data->type != w83781d) && (data->type != as99127f)) {			data->beep_mask |=			    w83781d_read_value(client,					       W83781D_REG_BEEP_INTS3) << 16;		}		data->last_updated = jiffies;		data->valid = 1;	}	up(&data->update_lock);	return data;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/7c7a530463ced6011789937b24dc2bfba43c706b/w83781d.c/clean/drivers/i2c/chips/w83781d.c