From 09239ed4aa99b2d2fd9b1a51b264661a4a6d469e Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Thu, 22 Aug 2013 09:23:28 -0700 Subject: [PATCH] sysfs: group.c: fix up kerneldoc Fix up the wording of sysfs_create/remove_groups() a bit. Reported-by: Anthony Foiani Signed-off-by: Greg Kroah-Hartman --- fs/sysfs/group.c | 4 ++-- 1 file 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); * It will explicitly warn and error if any of the attribute files being * created already exist. * - * Returns 0 on success or error code from sysfs_create_groups on error. + * Returns 0 on success or error code from sysfs_create_group on error. */ int sysfs_create_groups(struct kobject *kobj, const struct attribute_group **groups) @@ -230,7 +230,7 @@ EXPORT_SYMBOL_GPL(sysfs_remove_group); * @kobj: The kobject for the groups to be removed from * @groups: NULL terminated list of groups to be removed * - * If groups is not NULL, the all groups will be removed from the kobject + * If groups is not NULL, remove the specified groups from the kobject. */ void sysfs_remove_groups(struct kobject *kobj, const struct attribute_group **groups) -- GitLab