commit | bd877e489126b2214f971ae8ef7bd17b48a94a7b | [log] [tgz] |
---|---|---|
author | Bjørn Mork <bjorn@mork.no> | Fri Sep 07 07:36:07 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 07 14:50:06 2012 -0400 |
tree | 7463d29b62f399f75b4e1618d8c90c9e25f58a4a | |
parent | 3ee2403739db7ec8b683e6451c3401ad716ad5a2 [diff] |
net: qmi_wwan: use a single bind function for all device types Refactoring the bind code lets us use a common driver_info struct for all supported devices, simplifying the code a bit. The real advantage is that devices using the CDC ECM interface layout now also can be added dynamically using the new_id sysfs interface. This simplifies testing of new devices. Signed-off-by: Bjørn Mork <bjorn@mork.no> Signed-off-by: David S. Miller <davem@davemloft.net>