USB: deprecate the power/level sysfs attribute
authorAlan Stern <stern@rowland.harvard.edu>
Fri, 2 Apr 2010 17:22:16 +0000 (13:22 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 May 2010 20:21:37 +0000 (13:21 -0700)
commita90309860b0935805d49e75499fb8dc59fea8e94
tree2d5ed0376a0f0ead945afdaa11be00a48bc0af6c
parent9e18c821659d836bd63f88df3c19729327728496
USB: deprecate the power/level sysfs attribute

This patch (as1367) deprecates USB's power/level sysfs attribute in
favor of the power/control attribute provided by the runtime PM core.
The two attributes do the same thing.

It would be nice to replace power/level with a symlink to
power/control, but at the moment sysfs doesn't offer any way to do so.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Documentation/ABI/obsolete/sysfs-bus-usb [new file with mode: 0644]
Documentation/ABI/testing/sysfs-bus-usb
Documentation/usb/power-management.txt
drivers/usb/core/sysfs.c