sysfs: allow attributes to be added to groups
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 20 Feb 2007 20:02:44 +0000 (15:02 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 23 Feb 2007 23:03:46 +0000 (15:03 -0800)
commitdfa87c824a9a5430008acd1ed2e8111ed164fcbe
tree1e25c9d6a00b409e3cd6a7d304fe2b98eb955309
parentb5e795f8df42936590ba9c606edc715fe3593284
sysfs: allow attributes to be added to groups

This patch (as860) adds two new sysfs routines:
sysfs_add_file_to_group() and sysfs_remove_file_from_group().
A later patch adds code that uses the new routines.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Cc: Maneesh Soni <maneesh@in.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/sysfs/file.c
include/linux/sysfs.h