lkml.org 
[lkml]   [2011]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 40/44] SYSFS: Fix erroneous comments for sysfs_update_group().
    Date
    From: Robert P. J. Day <rpjday@crashcourse.ca>

    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>
    ---
    fs/sysfs/group.c | 6 +++---
    1 files changed, 3 insertions(+), 3 deletions(-)

    diff --git a/fs/sysfs/group.c b/fs/sysfs/group.c
    index c8769dc..194414f 100644
    --- a/fs/sysfs/group.c
    +++ b/fs/sysfs/group.c
    @@ -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
    --
    1.7.4.2


    \
     
     \ /
      Last update: 2011-05-20 02:15    [W:4.104 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site