From: Alan Stern Date: Wed, 9 Jun 2010 21:34:05 +0000 (-0400) Subject: USB: fix failure path in usb_add_hcd() X-Git-Tag: v2.6.36-rc1~293^2~147 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96e077ae347912dfce0e93f5958efc3ed6f311f4;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed