if (data->type == adm1021) data->die_code = adm1021_read_value(client, ADM1021_REG_DIE_CODE); 
static struct adm1021_data *adm1021_update_device(struct device *dev){	struct i2c_client *client = to_i2c_client(dev);	struct adm1021_data *data = i2c_get_clientdata(client);	down(&data->update_lock);	if (time_after(jiffies, data->last_updated + HZ + HZ / 2)	    || !data->valid) {		dev_dbg(&client->dev, "Starting adm1021 update\n");		data->temp_input = adm1021_read_value(client, ADM1021_REG_TEMP);		data->temp_max = adm1021_read_value(client, ADM1021_REG_TOS_R);		data->temp_hyst = adm1021_read_value(client, ADM1021_REG_THYST_R);		data->remote_temp_input = adm1021_read_value(client, ADM1021_REG_REMOTE_TEMP);		data->remote_temp_max = adm1021_read_value(client, ADM1021_REG_REMOTE_TOS_R);		data->remote_temp_hyst = adm1021_read_value(client, ADM1021_REG_REMOTE_THYST_R);		data->alarms = adm1021_read_value(client, ADM1021_REG_STATUS) & 0x7c;		if (data->type == adm1021)			data->die_code = adm1021_read_value(client, ADM1021_REG_DIE_CODE);		if (data->type == adm1023) {			data->remote_temp_prec = adm1021_read_value(client, ADM1021_REG_REM_TEMP_PREC);			data->remote_temp_os_prec = adm1021_read_value(client, ADM1021_REG_REM_TOS_PREC);			data->remote_temp_hyst_prec = adm1021_read_value(client, ADM1021_REG_REM_THYST_PREC);			data->remote_temp_offset = adm1021_read_value(client, ADM1021_REG_REM_OFFSET);			data->remote_temp_offset_prec = adm1021_read_value(client, ADM1021_REG_REM_OFFSET_PREC);		}		data->last_updated = jiffies;		data->valid = 1;	}	up(&data->update_lock);	return data;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/6afe15595031bb9801af6207feed0bafc25b6e6b/adm1021.c/buggy/drivers/i2c/chips/adm1021.c