libusbgx: Add remove gadget functionality.
authorKrzysztof Opasiak <k.opasiak@samsung.com>
Thu, 3 Apr 2014 14:57:26 +0000 (16:57 +0200)
committerKrzysztof Opasiak <k.opasiak@samsung.com>
Tue, 22 Dec 2015 19:39:58 +0000 (20:39 +0100)
commitf105a847c435349cc3a98a743cce494170026d16
tree13791dd510208c38d760ad374ae168944a208b02
parentec4b771d97e48e82fc4d7bfa7ab71a0162687260
libusbgx: Add remove gadget functionality.

Add function which allow to remove USB gadget.
This functions also remove gadget from internal
library structures what means that after this
operation all pointers to removed gadget are invalid.

Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
[Port from libusbg and update description]
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
include/usbg/usbg.h
src/usbg.c