usb: dwc2: gadget: do not call usb_gadget_unregister_driver()
authorFelipe Balbi <balbi@ti.com>
Sat, 18 Oct 2014 01:15:08 +0000 (20:15 -0500)
committerFelipe Balbi <balbi@ti.com>
Mon, 3 Nov 2014 16:01:18 +0000 (10:01 -0600)
commit0d3ca262699fd6d7c5dcc25ff29a711851797117
treeec9feacc9a590e09374fb7fa7e11267a0400d39c
parentf4fd094cdfd124d7653a500e81ec3bb7ae3e9919
usb: dwc2: gadget: do not call usb_gadget_unregister_driver()

that call is completely unnecessary because
usb_del_gadget_udc() already makes sure the
gadget driver is properly unregistered from
the UDC.

Acked-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc2/gadget.c