usb: chipidea: gadget: use udc-core's reset notifier
authorPeter Chen <peter.chen@freescale.com>
Thu, 6 Nov 2014 06:27:58 +0000 (14:27 +0800)
committerFelipe Balbi <balbi@ti.com>
Mon, 10 Nov 2014 23:19:35 +0000 (17:19 -0600)
commitafbe47758a5931aa1ddd71da53189092f564b230
tree8b2bd80bed034b6401c1fec8d4d940135314f709
parent5ca1ccdaa88ac15d1468c5e8bb40885dc6b8a364
usb: chipidea: gadget: use udc-core's reset notifier

Replace usb_gadget_driver's disconnect with udc-core's reset notifier at
bus reset handler.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/chipidea/udc.c