USB: EHCI: Move sysfs related bits into ehci-sysfs.c
authorKirill Smelkov <kirr@mns.spb.ru>
Sun, 3 Jul 2011 16:36:56 +0000 (20:36 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 Jul 2011 21:51:32 +0000 (14:51 -0700)
commit4c67045bfc2c14a1d3c6040e80eb4a62946282dd
treeca35f86ed19c5a7850c23477717da9fec6d13ba9
parent6f95b4b75295e40851e653e70884fc31c025789f
USB: EHCI: Move sysfs related bits into ehci-sysfs.c

The only sysfs attr implemented so far is "companion" from ehci-hub.c,
but in the next patch we are going to add another sysfs file, so prior
to that let's structure things and move already-in-there sysfs code to
separate file.

NOTE: All the code I'm moving into this new file was written by Alan
Stern (in 57e06c11 "EHCI: force high-speed devices to run at full
speed"; Jan 16 2007), that's why I'm putting

    Copyright (C) 2007 by Alan Stern

there after explicit request from the author.

Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci-hcd.c
drivers/usb/host/ehci-hub.c
drivers/usb/host/ehci-sysfs.c [new file with mode: 0644]