if (	device_create_file(&dev->dev, &w1_master_attribute_slaves) < 0 || device_create_file(&dev->dev, &w1_master_attribute_slave_count) < 0 || device_create_file(&dev->dev, &w1_master_attribute_attempts) < 0 || device_create_file(&dev->dev, &w1_master_attribute_max_slave_count) < 0 || device_create_file(&dev->dev, &w1_master_attribute_timeout) < 0|| device_create_file(&dev->dev, &w1_master_attribute_pointer) < 0|| device_create_file(&dev->dev, &w1_master_attribute_name) < 0) return -EINVAL;  return 0;
return sysfs_create_group(&master->dev.kobj, &w1_master_defattr_group);
int w1_create_master_attributes(struct w1_master *dev){	if (	device_create_file(&dev->dev, &w1_master_attribute_slaves) < 0 ||		device_create_file(&dev->dev, &w1_master_attribute_slave_count) < 0 ||		device_create_file(&dev->dev, &w1_master_attribute_attempts) < 0 ||		device_create_file(&dev->dev, &w1_master_attribute_max_slave_count) < 0 ||		device_create_file(&dev->dev, &w1_master_attribute_timeout) < 0||		device_create_file(&dev->dev, &w1_master_attribute_pointer) < 0||		device_create_file(&dev->dev, &w1_master_attribute_name) < 0)		return -EINVAL;	return 0;}