]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: configfs: pass UDC name via usb_gadget_driver struct
authorRuslan Bilovol <ruslan.bilovol@gmail.com>
Mon, 23 Nov 2015 08:56:36 +0000 (09:56 +0100)
committerFelipe Balbi <balbi@ti.com>
Wed, 16 Dec 2015 16:07:26 +0000 (10:07 -0600)
commitd2e46b7d4e89b472a51bbc551e3acb6f5245dc33
treec17c6f25aa5566e348d43f04fab2abe25cf6545a
parent36fdb60be6f96aa4eff72a826b1338f6a43b9902
usb: gadget: configfs: pass UDC name via usb_gadget_driver struct

Now when udc-core supports binding to specific UDC by passing
its name via 'udc_name' member of usb_gadget_driver struct,
switch to this generic approach.

Tested-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Ruslan Bilovol <ruslan.bilovol@gmail.com>
[rebased and fixed checkpatch issues]
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/configfs.c