libusbgx: Replace usbg_get_udcs() with loop
authorKrzysztof Opasiak <k.opasiak@samsung.com>
Thu, 11 Sep 2014 17:15:57 +0000 (19:15 +0200)
committerKrzysztof Opasiak <k.opasiak@samsung.com>
Tue, 22 Dec 2015 20:41:57 +0000 (21:41 +0100)
commit8d5550172c39f937d286152c3b7e84accd4420e8
tree9804a253e6203f933de29f9e6d77496baac5067f
parente8338aa327acfad806d9cb6ac194752337dbdc96
libusbgx: Replace usbg_get_udcs() with loop

Library allows to iterate over each gadget using loop.
To be consistent with this convention add similar loop
for UDCs.

Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
include/usbg/usbg.h
src/usbg.c