Skip to content

Commit 1f8e1cd

Browse files
robertpjdaygregkh
authored andcommitted
SYSFS: Fix erroneous comments for sysfs_update_group().
Fix what is clearly a simple copy-and-paste error in commenting the sysfs_update_group() routine. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1 parent 63dc355 commit 1f8e1cd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎fs/sysfs/group.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ int sysfs_create_group(struct kobject *kobj,
101101
}
102102

103103
/**
104-
* sysfs_update_group - given a directory kobject, create an attribute group
105-
* @kobj: The kobject to create the group on
106-
* @grp: The attribute group to create
104+
* sysfs_update_group - given a directory kobject, update an attribute group
105+
* @kobj: The kobject to update the group on
106+
* @grp: The attribute group to update
107107
*
108108
* This function updates an attribute group. Unlike
109109
* sysfs_create_group(), it will explicitly not warn or error if any

0 commit comments

Comments
 (0)