usb: gadget: udc-core: introduce usb_add_gadget_udc_release()
authorFelipe Balbi <balbi@ti.com>
Tue, 26 Feb 2013 12:47:44 +0000 (14:47 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:17:44 +0000 (11:17 +0200)
commit792bfcf7a1cd7913fa5d55f2b3a40e3275e98f6f
treeeae84b3c1688bf011ee15fb9487b39e84ee7259e
parent8707d5abbd96f7a124647357005511bee8d3ccdd
usb: gadget: udc-core: introduce usb_add_gadget_udc_release()

not all UDC drivers need a proper release function,
for those which don't need it, we udc-core will provide
a no-op release method so we can remove "redefinition"
of such methods in almost every UDC driver.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc-core.c
include/linux/usb/gadget.h