/* sysfs_remove_file_from_group - remove an attribute file from a group. @kobj: object we're acting for. @attr: attribute descriptor. @group: group name.  */
void sysfs_remove_file_from_group(struct kobject *kobj, const struct attribute *attr, const char *group)
/* sysfs_remove_file_from_group - remove an attribute file from a group. @kobj: object we're acting for. @attr: attribute descriptor. @group: group name.  */
void sysfs_remove_file_from_group(struct kobject *kobj, const struct attribute *attr, const char *group)
{
	struct sysfs_dirent *dir_sd;
	if (group)
		dir_sd = sysfs_get_dirent(kobj->sd, group);
	else
		dir_sd = sysfs_get(kobj->sd);
	if (dir_sd) {
		sysfs_hash_and_remove(dir_sd, attr->name);
		sysfs_put(dir_sd);
	}
}