aboutsummaryrefslogtreecommitdiffstats
path: root/fs/sysfs
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-22 12:23:28 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-22 12:23:28 -0400
commit09239ed4aa99b2d2fd9b1a51b264661a4a6d469e (patch)
tree2164ef40fbf8906c65d40d2fe646fc2e28680696 /fs/sysfs
parent028718a5cc6e35ae7e220839fa6b61e2a6f12ca3 (diff)
sysfs: group.c: fix up kerneldoc
Fix up the wording of sysfs_create/remove_groups() a bit. Reported-by: Anthony Foiani <tkil@scrye.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/sysfs')
-rw-r--r--fs/sysfs/group.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/sysfs/group.c b/fs/sysfs/group.c
index cb987e6c9279..5f92cd2f61c1 100644
--- a/fs/sysfs/group.c
+++ b/fs/sysfs/group.c
@@ -144,7 +144,7 @@ EXPORT_SYMBOL_GPL(sysfs_create_group);
144 * It will explicitly warn and error if any of the attribute files being 144 * It will explicitly warn and error if any of the attribute files being
145 * created already exist. 145 * created already exist.
146 * 146 *
147 * Returns 0 on success or error code from sysfs_create_groups on error. 147 * Returns 0 on success or error code from sysfs_create_group on error.
148 */ 148 */
149int sysfs_create_groups(struct kobject *kobj, 149int sysfs_create_groups(struct kobject *kobj,
150 const struct attribute_group **groups) 150 const struct attribute_group **groups)
@@ -230,7 +230,7 @@ EXPORT_SYMBOL_GPL(sysfs_remove_group);
230 * @kobj: The kobject for the groups to be removed from 230 * @kobj: The kobject for the groups to be removed from
231 * @groups: NULL terminated list of groups to be removed 231 * @groups: NULL terminated list of groups to be removed
232 * 232 *
233 * If groups is not NULL, the all groups will be removed from the kobject 233 * If groups is not NULL, remove the specified groups from the kobject.
234 */ 234 */
235void sysfs_remove_groups(struct kobject *kobj, 235void sysfs_remove_groups(struct kobject *kobj,
236 const struct attribute_group **groups) 236 const struct attribute_group **groups)