UPSTREAM: 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)
committerGerrit <chrome-bot@google.com>
Wed, 10 Oct 2012 19:15:22 +0000 (12:15 -0700)
commit848ee9582d3efdd063b1587c98d5758619cb3b97
tree874a828fb47f35a54f7d971e8435e7a67bfc9333
parentac9e23df33e752c81b29ae406582f50430a48c70
UPSTREAM: 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>
(cherry picked from commit f47cd1360f36e599815650522986673b9aa83393)

Change-Id: Ica96b7eb66a9436d11e458bff48f23835cf5d471
Signed-off-by: Ben Chan <benchan@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/35011
Reviewed-by: Olof Johansson <olofj@chromium.org>
drivers/net/usb/qmi_wwan.c