usb: gadget: at91_udc: use udc-core's reset notifier
authorPeter Chen <peter.chen@freescale.com>
Thu, 6 Nov 2014 06:28:02 +0000 (14:28 +0800)
committerFelipe Balbi <balbi@ti.com>
Mon, 10 Nov 2014 23:19:36 +0000 (17:19 -0600)
commit236e5064fc06ce3609b3521ca148ad0f8c3c18f6
tree2938f3d3e701e2325730b3978b9e87e338885d67
parent363ea206efb25dfcb09d57878fdbdb4cd6b01775
usb: gadget: at91_udc: 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/gadget/udc/at91_udc.c