]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7ca83637b1c717cf29811edd9052070a6f2635bb
tree9612174e715d551b41ef1e186551cb9742d1619f
parent787bf33ca027068f70817fa41adb660e16e6cfdf
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