struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); int nr = sensor_attr->index;  
static ssize_t set_in_min(struct device *dev, const char *buf, 		size_t count, int nr){	struct i2c_client *client = to_i2c_client(dev);	struct it87_data *data = i2c_get_clientdata(client);	unsigned long val = simple_strtoul(buf, NULL, 10);	down(&data->update_lock);	data->in_min[nr] = IN_TO_REG(val);	it87_write_value(client, IT87_REG_VIN_MIN(nr), 			data->in_min[nr]);	up(&data->update_lock);	return count;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/20ad93d4e5cf5f0616198b5919ee9f304119dd4b/it87.c/clean/drivers/i2c/chips/it87.c