usb: gadget: f_uac2: remove platform driver/device creation
authorRuslan Bilovol <ruslan.bilovol@gmail.com>
Sun, 18 Jun 2017 13:23:51 +0000 (16:23 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 19 Jun 2017 06:22:46 +0000 (09:22 +0300)
commit7158b57a495635c04507d986117ae26b2eb5e4e5
tree9612174e715d551b41ef1e186551cb9742d1619f
parent1fc4926d92b9515b44f35b339bab5d2ca474a723
usb: gadget: f_uac2: remove platform driver/device creation

Simplify f_uac2 by removing platform driver/device
creation; use composite's usb_gadget device as
parent for sound card and for debug prints.
This removes extra layer of code without any functional
change.

Signed-off-by: Ruslan Bilovol <ruslan.bilovol@gmail.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/function/f_uac2.c