usb: gadget: Add function devices to the parent
authorBadhri Jagan Sridharan <Badhri@google.com>
Fri, 27 Mar 2015 21:15:19 +0000 (14:15 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:52:09 +0000 (13:52 -0800)
commitdbaad39b68c88745a59d53e45403332bd1761462
tree6c21ed39a35a8f163ec283e9b53567df4f0ffaa3
parent795b676102b66700581daed20c3fe6961d09563a
usb: gadget: Add function devices to the parent

Added create_function_device to create child
function devices for USB gadget functions.
Android UsbDeviceManager relies on communicating
to the devices created by the gadget functions
to implement functions such as audio_source.

Signed-off-by: Badhri Jagan Sridharan <Badhri@google.com>
Change-Id: I0df9ad86ac32d8cdacdea164e9fed49891b45fc2
drivers/usb/gadget/configfs.c