usb:hsotg:samsung: Add release function for hsotg device
authorLukasz Majewski <l.majewski@samsung.com>
Fri, 4 May 2012 12:17:13 +0000 (14:17 +0200)
committerFelipe Balbi <balbi@ti.com>
Fri, 4 May 2012 12:53:17 +0000 (15:53 +0300)
commitf026a52d4309e1e08752a8bd41ac74aeea815686
tree7cddaad44420cbcb78c680a817f34cbcc6c8a4fa
parentf99b2bfebe8984db2b6e4c07e2bedc91977d27d8
usb:hsotg:samsung: Add release function for hsotg device

Add release function to prevent kernel warning.
Kfree is performed when all references are gone.

Signed-off-by: Sangwook Lee <sangwook.lee@linaro.org>
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/s3c-hsotg.c