diff options
| author | Alan Stern <stern@rowland.harvard.edu> | 2010-06-09 17:34:05 -0400 | 
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-10 14:35:33 -0700 | 
| commit | 96e077ae347912dfce0e93f5958efc3ed6f311f4 (patch) | |
| tree | 58eef1baba1052090daa8c457936c1a1ff66b470 /drivers/usb/core/hcd-pci.c | |
| parent | b34d8915c413acb51d837a45fb8747b61f65c020 (diff) | |
| download | olio-linux-3.10-96e077ae347912dfce0e93f5958efc3ed6f311f4.tar.xz olio-linux-3.10-96e077ae347912dfce0e93f5958efc3ed6f311f4.zip  | |
USB: fix failure path in usb_add_hcd()
This patch (as1389) fixes some errors in the failure pathway of
usb_add_hcd().  The actions it takes ought to be exactly the same as
those taken by usb_remove_hcd(), but they aren't.
In one case (removal of the usb_bus_attr_group), the two routines are
brought into agreement by changing usb_remove_hcd().  All the other
discrepancies are fixed by changing usb_add_hcd().
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/core/hcd-pci.c')
0 files changed, 0 insertions, 0 deletions