usb: gadget: amd5536udc: don't assign gadget.dev.release directly
authorFelipe Balbi <balbi@ti.com>
Tue, 26 Feb 2013 13:15:25 +0000 (15:15 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:17:46 +0000 (11:17 +0200)
commite1f07ced2a27a7068786beaf23e0ac9fda6d8ca6
tree9718ed8b10b5d352f2c6586313a1755583a84912
parente5caff6831d00d96b4618de939312570527ad54a
usb: gadget: amd5536udc: don't assign gadget.dev.release directly

udc-core provides a better way to handle release
methods, let's use it.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/amd5536udc.c