libusbgx: Separate parsing gadget attributes and strings.
authorKrzysztof Opasiak <k.opasiak@samsung.com>
Mon, 16 Dec 2013 09:58:45 +0000 (10:58 +0100)
committerKrzysztof Opasiak <k.opasiak@samsung.com>
Tue, 22 Dec 2015 19:33:56 +0000 (20:33 +0100)
commit61232520249131763741a2f85e6a3295911b9698
tree1fc3b2b53d4e75f848df513c9ed2ee8e414e210d
parentd6604e97d7ff461e15c811bfb70da67ba91f12e9
libusbgx: Separate parsing gadget attributes and strings.

Gadget attributes and strings are logically independent,
so they should be initialized in separate functions.

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