diff options
| author | Alan Stern <stern@rowland.harvard.edu> | 2005-10-25 23:56:06 +0400 | 
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-10-29 03:47:50 +0400 | 
| commit | be69e5b1900a19a545becda822b18d6f09168ba5 (patch) | |
| tree | 7730b17e403cc03ea7c7cee8fc56f06171af0ebe /kernel/mutex-debug.c | |
| parent | e52783206ada0c0276c8dd74c0ecd0007ead7c00 (diff) | |
| download | linux-be69e5b1900a19a545becda822b18d6f09168ba5.tar.xz | |
[PATCH] usbcore: Improve endpoint sysfs file handling
This revised patch (as587b) improves the implementation of USB endpoint
sysfs files.  Instead of storing a whole bunch of attributes for every
single endpoint, each endpoint now gets its own kobject and they can
share a static list of attributes.  The number of extra fields added to
struct usb_host_endpoint has been reduced from 4 to 1.
The bEndpointAddress field is retained even though it is redundant (it
repeats the same information as the attributes' directory name).  The
code avoids calling kobject_register, to prevent generating unwanted
hotplug events.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'kernel/mutex-debug.c')
0 files changed, 0 insertions, 0 deletions
