USB: g_hid: unregister platform driver on probe/usb_composite_register errors
authorPeter Korsgaard <peter.korsgaard@barco.com>
Mon, 26 Apr 2010 08:05:06 +0000 (10:05 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 May 2010 20:21:40 +0000 (13:21 -0700)
commitda01c7a49bfc94dbfa66af5ca5e1063b10bc6a10
treeec982308ce4b4339392309b901f01627f7f0ad6e
parentfe662b43521a8b8ad2dc79299922d0b0bb3fe728
USB: g_hid: unregister platform driver on probe/usb_composite_register errors

Otherwise reloads will fail.

Signed-off-by: Peter Korsgaard <peter.korsgaard@barco.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/hid.c