usb: gadget: at91_udc: remove unused release function
authorBo Shen <voice.shen@atmel.com>
Wed, 19 Nov 2014 09:19:05 +0000 (17:19 +0800)
committerFelipe Balbi <balbi@ti.com>
Thu, 20 Nov 2014 19:49:25 +0000 (13:49 -0600)
commitba7cc772e77d30943833b7d38a861203dcb8c881
tree6301ed4943931d4767f463b2e5904de28db7f678
parent74df41b40ab0222903dcc9681e9076c2604741d8
usb: gadget: at91_udc: remove unused release function

As the driver call usb_add_gadget_udc --> usb_add_gadget_udc_release
with NULL as release parameter, so it will use usb_udc_no_release.
So, the release in driver won't used, remove it.

And at the same time, in the usb_add_gadget_udc_release will set the
gadget name, so remove it also in driver.

Signed-off-by: Bo Shen <voice.shen@atmel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc/at91_udc.c