summaryrefslogtreecommitdiffstats
path: root/fs/sysfs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/sysfs')
-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 b400c04371f0..39a019936768 100644
--- a/fs/sysfs/group.c
+++ b/fs/sysfs/group.c
@@ -135,7 +135,7 @@ static int internal_create_group(struct kobject *kobj, int update,
135 * This function creates a group for the first time. It will explicitly 135 * This function creates a group for the first time. It will explicitly
136 * warn and error if any of the attribute files being created already exist. 136 * warn and error if any of the attribute files being created already exist.
137 * 137 *
138 * Returns 0 on success or error. 138 * Returns 0 on success or error code on failure.
139 */ 139 */
140int sysfs_create_group(struct kobject *kobj, 140int sysfs_create_group(struct kobject *kobj,
141 const struct attribute_group *grp) 141 const struct attribute_group *grp)
@@ -155,7 +155,7 @@ EXPORT_SYMBOL_GPL(sysfs_create_group);
155 * It will explicitly warn and error if any of the attribute files being 155 * It will explicitly warn and error if any of the attribute files being
156 * created already exist. 156 * created already exist.
157 * 157 *
158 * Returns 0 on success or error code from sysfs_create_group on error. 158 * Returns 0 on success or error code from sysfs_create_group on failure.
159 */ 159 */
160int sysfs_create_groups(struct kobject *kobj, 160int sysfs_create_groups(struct kobject *kobj,
161 const struct attribute_group **groups) 161 const struct attribute_group **groups)
@@ -193,7 +193,7 @@ EXPORT_SYMBOL_GPL(sysfs_create_groups);
193 * The primary use for this function is to call it after making a change 193 * The primary use for this function is to call it after making a change
194 * that affects group visibility. 194 * that affects group visibility.
195 * 195 *
196 * Returns 0 on success or error. 196 * Returns 0 on success or error code on failure.
197 */ 197 */
198int sysfs_update_group(struct kobject *kobj, 198int sysfs_update_group(struct kobject *kobj,
199 const struct attribute_group *grp) 199 const struct attribute_group *grp)