struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); int nr = sensor_attr->index; 
static ssize_t set_fan_min(struct device *dev, const char *buf,		size_t count, int nr){	struct i2c_client *client = to_i2c_client(dev);	struct adm1026_data *data = i2c_get_clientdata(client);	int val = simple_strtol(buf, NULL, 10);	down(&data->update_lock);	data->fan_min[nr] = FAN_TO_REG(val, data->fan_div[nr]);	adm1026_write_value(client, ADM1026_REG_FAN_MIN(nr),		data->fan_min[nr]);	up(&data->update_lock);	return count;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/050480f12aeab62d39a1a07546606a47217ebefa/adm1026.c/clean/drivers/i2c/chips/adm1026.c