usb: gadget: udc: pxa27x: do not call usb_gadget_unregister_driver()
authorFelipe Balbi <balbi@ti.com>
Sat, 18 Oct 2014 01:19:41 +0000 (20:19 -0500)
committerFelipe Balbi <balbi@ti.com>
Mon, 3 Nov 2014 16:01:19 +0000 (10:01 -0600)
commit76bfa95eab10f6bfd7e7d33a9b7cccbefa036f5c
tree926aaf04d4aa11fc42eb17f36e2c1820ec7eb59d
parent7fd1f9d6663fa20997d2d951ef7ee7e2cd0d266e
usb: gadget: udc: pxa27x: 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: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc/pxa27x_udc.c