static ssize_t set_temp_crit_enable(struct device *dev, const char *buf,
static ssize_t set_temp_crit_enable(struct device *dev, struct device_attribute *attr, const char *buf,
static ssize_t set_temp_crit_enable(struct device *dev, const char *buf,		size_t count){	struct i2c_client *client = to_i2c_client(dev);	struct adm1026_data *data = i2c_get_clientdata(client);	int val = simple_strtol(buf, NULL, 10);	if ((val == 1) || (val==0)) {		down(&data->update_lock);		data->config1 = (data->config1 & ~CFG1_THERM_HOT) | (val << 4);		adm1026_write_value(client, ADM1026_REG_CONFIG1, 			data->config1);		up(&data->update_lock);	}	return count;}