usb: Make usb_hcd_pci_probe labels more descriptive.
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Fri, 15 Oct 2010 17:33:48 +0000 (10:33 -0700)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Mon, 14 Mar 2011 01:07:14 +0000 (18:07 -0700)
commit8766c815607e572556b04075d4545330123c4f27
tree04a1b0589c0c194baf87fb57cb243ef39e94419e
parentb02d0ed677acb3465e7600366f2353413bf24074
usb: Make usb_hcd_pci_probe labels more descriptive.

Make the labels for the goto statements in usb_hcd_pci_probe()
describe the cleanup they do, rather than being numbered err[1-4].
This makes it easier to add error handling later.

The error handling for this function looks a little fishy, since
set_hs_companion() isn't called until the very end of the function, and
clear_hs_companion() is called if this function fails earlier than that.
But it should be harmless to clear a NULL pointer, so leave the error
handling as-is.

Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
drivers/usb/core/hcd-pci.c