usb: gadget: atmel_usba_udc: remove release function
authorBo Shen <voice.shen@atmel.com>
Wed, 19 Nov 2014 09:19:06 +0000 (17:19 +0800)
committerFelipe Balbi <balbi@ti.com>
Thu, 20 Nov 2014 19:49:30 +0000 (13:49 -0600)
commitcf0b1d1309790fbae27e7276ae4cb30c38ac9fc8
tree2b8581d027f41b69d3976389c890f8788bfdd2e0
parentba7cc772e77d30943833b7d38a861203dcb8c881
usb: gadget: atmel_usba_udc: remove 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/atmel_usba_udc.c