USB: gadget: DFU: Move stuff to dfu_bind
When we want to create a composite device dfu_bind_config will not
be called for a composite device. Move the initialisation needed
by both the composite device and the single function device from
dfu_bind_config to dfu_bind.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 057a574 commit 14a72d425891ccd5e15e0305d753d91b8d9c8c2c
@Sascha Hauer Sascha Hauer authored on 17 Jul 2014
Showing 1 changed file
View
drivers/usb/gadget/dfu.c