usb: cdc-wdm: split out reusable parts of probe
authorBjørn Mork <bjorn@mork.no>
Tue, 6 Mar 2012 16:29:20 +0000 (17:29 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Mar 2012 21:06:48 +0000 (13:06 -0800)
commit0dffb4862a5f109dc9b72e3a4e0ecc85a87ce397
treee45b3920a374874225d1c0efe4c44d0167a977d0
parentc1cee1d84001815a1b4321c49b995254c0df3100
usb: cdc-wdm: split out reusable parts of probe

Preparing for the addition of subdriver registering as an alternative
to probe for interface-less usage.  This should not change anything
apart from minor code reordering.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Acked-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/class/cdc-wdm.c