summaryrefslogtreecommitdiff
path: root/fs/sysfs/group.c
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2011-05-08 01:18:20 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-05-11 01:22:00 +0400
commit1f8e1cdac616e510eeb2dc2a9226bf597bc6cfd6 (patch)
treec65642c3f3d706ee96068d28b7d7880aaaefbd46 /fs/sysfs/group.c
parent63dc355a5a8cf296e2b1cc2e4192190dca221129 (diff)
downloadlinux-1f8e1cdac616e510eeb2dc2a9226bf597bc6cfd6.tar.xz
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>
Diffstat (limited to 'fs/sysfs/group.c')
-rw-r--r--fs/sysfs/group.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/sysfs/group.c b/fs/sysfs/group.c
index c8769dc222d8..194414f8298c 100644
--- a/fs/sysfs/group.c
+++ b/fs/sysfs/group.c
@@ -101,9 +101,9 @@ int sysfs_create_group(struct kobject *kobj,
}
/**
- * sysfs_update_group - given a directory kobject, create an attribute group
- * @kobj: The kobject to create the group on
- * @grp: The attribute group to create
+ * sysfs_update_group - given a directory kobject, update an attribute group
+ * @kobj: The kobject to update the group on
+ * @grp: The attribute group to update
*
* This function updates an attribute group. Unlike
* sysfs_create_group(), it will explicitly not warn or error if any