usb: gadget: zero: put function instances on unbind
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Thu, 18 Apr 2013 12:43:26 +0000 (14:43 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 23 Apr 2013 11:12:21 +0000 (14:12 +0300)
If function instances are not put on gadget's unbind, their implementation
module's refcount is nonzero and it is impossible to unload them.

Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>

No differences found