]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcf12841bde85112fbf00361fd2ed2372aa78e390
tree1e25c9d6a00b409e3cd6a7d304fe2b98eb955309
parentdf225459f77629d43859f6554723b59565ef8c9d
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