usb: gadget: uvc: Utilise instance name in video name

With multiple UVC gadgets on a composite device, the device names become
indistinguishable from one another.

Extend the gadget video name to incorporate the function instance name,
along side the existing UDC controller name when available.

Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
---
v2:
 - Adapt code to maintain existing output when no function instance
   string is available (g_webcam).
   The g_webcam function instance group item has a valid ci_name
   pointer, but it is a string of zero length.
1 file changed