static ssize_t w1_smem_read_val(struct device *dev, char *buf)
static ssize_t w1_smem_read_val(struct device *dev, struct device_attribute *attr, char *buf)
static ssize_t w1_smem_read_val(struct device *dev, char *buf){	struct w1_slave *sl = container_of(dev, struct w1_slave, dev);	int i;	ssize_t count = 0;		for (i = 0; i < 8; ++i)		count += sprintf(buf + count, "%02x ", ((u8 *)&sl->reg_num)[i]);	count += sprintf(buf + count, "\n");	return count;}