sysfs: Add sysfs_merge_group() and sysfs_unmerge_group()
authorAlan Stern <stern@rowland.harvard.edu>
Sat, 25 Sep 2010 21:34:22 +0000 (23:34 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Sat, 16 Oct 2010 23:57:44 +0000 (01:57 +0200)
commit69d44ffbd772bede8c2a6d182e6e14f94826520b
tree6c160172d34b9e023d459d3af0709d9b5760416b
parent098dff738abbeaea15fc95c4f4fdaee1e9bbea75
sysfs: Add sysfs_merge_group() and sysfs_unmerge_group()

This patch (as1420) adds sysfs_merge_group() and sysfs_unmerge_group()
functions, allowing drivers easily to add and remove sets of
attributes to a pre-existing attribute group directory.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
fs/sysfs/group.c
include/linux/sysfs.h