libusbgx: Add return value to gadget creation functions.
authorKrzysztof Opasiak <k.opasiak@samsung.com>
Thu, 27 Feb 2014 17:21:33 +0000 (18:21 +0100)
committerKrzysztof Opasiak <k.opasiak@samsung.com>
Tue, 22 Dec 2015 19:35:21 +0000 (20:35 +0100)
commitb1aa35521a635f8c1799e78eab7c3b6a1596c587
treeb0dc6d492e6bef5a541e60c9c217575cbad6e191
parent97e39942bb97806eccf2412816e0fcabc166b08f
libusbgx: Add return value to gadget creation functions.

Functions related to gadget creation should return error codes
instead of pointer.

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