USB: remove struct usb_operations
All of the currently-supported USB host controller drivers use the HCD bus-glue framework. As part of the program for flattening out the glue layer, this patch (as769) removes the usb_operations structure. All function calls now go directly to the HCD routines (slightly renamed to remain within the "usb_" namespace). The patch also removes usb_alloc_bus(), because it's not useful in the HCD framework and it wasn't referenced anywhere. Signed-off-by:Alan Stern <stern@rowland.harvard.edu> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
Showing
- drivers/usb/core/hcd.c 5 additions, 44 deletionsdrivers/usb/core/hcd.c
- drivers/usb/core/hcd.h 7 additions, 25 deletionsdrivers/usb/core/hcd.h
- drivers/usb/core/message.c 2 additions, 2 deletionsdrivers/usb/core/message.c
- drivers/usb/core/urb.c 5 additions, 8 deletionsdrivers/usb/core/urb.c
- drivers/usb/core/usb.c 5 additions, 5 deletionsdrivers/usb/core/usb.c
- include/linux/usb.h 0 additions, 4 deletionsinclude/linux/usb.h
Loading
Please register or sign in to comment