return _set_fan_min(dev, buf, count, attr->index); 
struct i2c_client *client = to_i2c_client(dev); struct pc87360_data *data = i2c_get_clientdata(client); long fan_min = simple_strtol(buf, NULL, 10);  down(&data->update_lock); fan_min = FAN_TO_REG(fan_min, FAN_DIV_FROM_REG(data->fan_status[attr->index]));  /* If it wouldn't fit, change clock divisor */ while (fan_min > 255 && (data->fan_status[attr->index] & 0x60) != 0x60) { fan_min >>= 1; data->fan[attr->index] >>= 1; data->fan_status[attr->index] += 0x20; } data->fan_min[attr->index] = fan_min > 255 ? 255 : fan_min; pc87360_write_value(data, LD_FAN, NO_BANK, PC87360_REG_FAN_MIN(attr->index), data->fan_min[attr->index]);  /* Write new divider, preserve alarm bits */ pc87360_write_value(data, LD_FAN, NO_BANK, PC87360_REG_FAN_STATUS(attr->index), data->fan_status[attr->index] & 0xF9); up(&data->update_lock);  return count; 
static ssize_t set_fan_min(struct device *dev, struct device_attribute *devattr, const char *buf,	size_t count){	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);	return _set_fan_min(dev, buf, count, attr->index);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/11be27ea9bfd0ea7bca797ba6937285d18d426c2/pc87360.c/clean/drivers/hwmon/pc87360.c