mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
63dc355a5a
commit
1f8e1cdac6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue