static ssize_t set_pwm_reg(struct device *dev, const char *buf,
static ssize_t set_pwm_reg(struct device *dev, struct device_attribute *attr, const char *buf,
static ssize_t set_pwm_reg(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);	if (data->pwm1.enable == 1) {		int val = simple_strtol(buf, NULL, 10);		down(&data->update_lock);		data->pwm1.pwm = PWM_TO_REG(val);		adm1026_write_value(client, ADM1026_REG_PWM, data->pwm1.pwm);		up(&data->update_lock);	}	return count;}