Cleanup newly allocated device nodes in case of configuration failure.

If probe of a newly connected device fails for some reason, clean up
the allocated entry in usb_dev array.

Change-Id: I90fc5dde3bffb95cee19da2423fe3ff9ac546214
Signed-off-by: Milind Choudhary <milindc@codeaurora.org>

Review URL: http://codereview.chromium.org/3054035
Patch from Milind Choudhary <milindc@codeaurora.org>.
1 file changed