Skip to content

Commit

Permalink
sysfs: group.c: fix up kerneldoc
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Kroah-Hartman committed Aug 22, 2013
1 parent 028718a commit 09239ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/sysfs/group.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 09239ed

Please sign in to comment.