net: cdc_ncm: refactor bind preparing for MBIM support
authorGreg Suarez <gsuarez@smithmicro.com>
Mon, 22 Oct 2012 10:56:31 +0000 (10:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Oct 2012 06:40:10 +0000 (02:40 -0400)
commit38396e4c2984bf87283c2cda2c6aefa5876639dd
tree26f0f6e7e52455c13d5ed76cf7618d5db2488a7b
parent2d1c4310774156204c3faff0db583337caeffcc4
net: cdc_ncm: refactor bind preparing for MBIM support

NCM and MBIM can share most of the bind function.  Split
out the shareable part and add MBIM functional descriptor
parsing.

Signed-off-by: Greg Suarez <gsuarez@smithmicro.com>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/cdc_ncm.c