static ssize_t set_alarm_mask(struct device *dev, const char *buf,
static ssize_t set_alarm_mask(struct device *dev, struct device_attribute *attr, const char *buf,
static ssize_t set_alarm_mask(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);	unsigned long mask;	down(&data->update_lock);	data->alarm_mask = val & 0x7fffffff;	mask = data->alarm_mask		| (data->gpio_mask & 0x10000 ? 0x80000000 : 0);	adm1026_write_value(client, ADM1026_REG_MASK1,		mask & 0xff);	mask >>= 8;	adm1026_write_value(client, ADM1026_REG_MASK2,		mask & 0xff);	mask >>= 8;	adm1026_write_value(client, ADM1026_REG_MASK3,		mask & 0xff);	mask >>= 8;	adm1026_write_value(client, ADM1026_REG_MASK4,		mask & 0xff);	up(&data->update_lock);	return count;}