usb: gadget: gadgetfs: add reset API at usb_gadget_driver
authorPeter Chen <peter.chen@freescale.com>
Tue, 9 Sep 2014 00:56:51 +0000 (08:56 +0800)
committerFelipe Balbi <balbi@ti.com>
Tue, 9 Sep 2014 15:00:06 +0000 (10:00 -0500)
commit0eba4550fc642f4a51d76bf20d2b8104ec81d8e5
treefe02e0682fddd9b89cecd60d88fa5bf1bbb0564b
parent02f751b43f6766da4382bed322926eb99d56f516
usb: gadget: gadgetfs: add reset API at usb_gadget_driver

Add reset API at usb_gadget_driver, it calls disconnect handler currently,
but may do different things in future.

Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/legacy/inode.c