USB: use sysfs_merge_group for power attributes
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 15 Nov 2010 20:57:07 +0000 (15:57 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Nov 2010 22:02:00 +0000 (14:02 -0800)
commit045cac6b3b067a9286dabfb789f67ae4f433f88b
treeb0cf5e7ce35503125a08a31b9ab8ce0a35868aa5
parent63defa73c8c1193c1273474440c30d34c2524597
USB: use sysfs_merge_group for power attributes

This patch (as1426) makes use of the new sysfs_merge_group() and
sysfs_unmerge_group() routines to simplify the handling of power
attributes for USB devices.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/sysfs.c