Skip to content

mt76x{0,2}: move alloc_device common code in mt76_common module

Lorenzo Bianconi linux-wireless 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4mt76: move alloc_device common code in mt76_alloc_devicedrivers/net/wireless/mediatek/mt76/mac80211.c drivers/net/wireless/mediatek/mt76/mt76.h drivers/net/wireless/mediatek/mt76/mt76x0/init.c +2 more+14 -130 replies
2/4mt76x2u: remove mt76x2u_alloc_device routinedrivers/net/wireless/mediatek/mt76/mt76x2/mt76x2u.h drivers/net/wireless/mediatek/mt76/mt76x2/usb.c drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c+18 -300 replies
3/4mt76x0: remove mt76x0u_alloc_device routinedrivers/net/wireless/mediatek/mt76/mt76x0/init.c drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0.h drivers/net/wireless/mediatek/mt76/mt76x0/pci.c +1 more+24 -380 replies
4/4mt76x2: remove mt76x2_alloc_device routinedrivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h drivers/net/wireless/mediatek/mt76/mt76x2/pci.c drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c+20 -330 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] mt76x{0,2}: move alloc_device common code in mt76_common module

Move mt76x{0,2} alloc_device common code in mt76_alloc_device and remove duplicated code

Lorenzo Bianconi (4):
mt76: move alloc_device common code in mt76_alloc_device
mt76x2u: remove mt76x2u_alloc_device routine
mt76x0: remove mt76x0u_alloc_device routine
mt76x2: remove mt76x2_alloc_device routine

 drivers/net/wireless/mediatek/mt76/mac80211.c |  7 ++++-
 drivers/net/wireless/mediatek/mt76/mt76.h     |  5 ++--
 .../net/wireless/mediatek/mt76/mt76x0/init.c  | 22 ---------------
 .../wireless/mediatek/mt76/mt76x0/mt76x0.h    |  4 ---
 .../net/wireless/mediatek/mt76/mt76x0/pci.c   | 17 +++++++-----
 .../net/wireless/mediatek/mt76/mt76x0/usb.c   | 22 ++++++++-------
 .../wireless/mediatek/mt76/mt76x2/mt76x2.h    |  1 -
 .../wireless/mediatek/mt76/mt76x2/mt76x2u.h   |  1 -
 .../net/wireless/mediatek/mt76/mt76x2/pci.c   | 26 +++++++++++++-----
 .../wireless/mediatek/mt76/mt76x2/pci_init.c  | 27 -------------------
 .../net/wireless/mediatek/mt76/mt76x2/usb.c   | 24 ++++++++++++-----
 .../wireless/mediatek/mt76/mt76x2/usb_init.c  | 24 -----------------
 12 files changed, 71 insertions(+), 109 deletions(-)
Signature · 1 line
2.20.1