net: qmi_wwan: rearranging to prepare for code sharing
authorBjørn Mork <bjorn@mork.no>
Tue, 19 Jun 2012 00:42:00 +0000 (00:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Jun 2012 22:04:14 +0000 (15:04 -0700)
commitf47cd1360f36e599815650522986673b9aa83393
treea5a6acdbfd1ed92ae194b05561431bf8380b59e6
parent853c24f79dd6f4a3d6d7b52f235fe121aee08b45
net: qmi_wwan: rearranging to prepare for code sharing

Most of the subdriver registration code can be reused for devices
with separate control and data interfaces.  Move the code a bit
around to prepare for such reuse.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/qmi_wwan.c