mbox series

[0/2] wifi: mt76: mt792xu: some more code de-duplication

Message ID cover.1695291565.git.lorenzo@kernel.org (mailing list archive)
Headers show
Series wifi: mt76: mt792xu: some more code de-duplication | expand

Message

Lorenzo Bianconi Sept. 21, 2023, 10:23 a.m. UTC
Remove some more usb duplicated code shared between mt7921 and mt7925

Lorenzo Bianconi (2):
  wifi: mt76: mt792x: move mt7921_skb_add_usb_sdio_hdr in mt792x module
  wifi: mt76: mt792x: move some common usb code in mt792x module

 .../net/wireless/mediatek/mt76/mt7921/mac.c   |  2 +-
 .../net/wireless/mediatek/mt76/mt7921/main.c  | 21 +-----------------
 .../wireless/mediatek/mt76/mt7921/mt7921.h    | 17 --------------
 .../wireless/mediatek/mt76/mt7921/sdio_mcu.c  |  2 +-
 .../net/wireless/mediatek/mt76/mt7921/usb.c   | 12 ++--------
 .../net/wireless/mediatek/mt76/mt7925/mac.c   |  2 +-
 .../net/wireless/mediatek/mt76/mt7925/main.c  | 20 +----------------
 .../wireless/mediatek/mt76/mt7925/mt7925.h    | 16 --------------
 .../net/wireless/mediatek/mt76/mt7925/usb.c   | 12 ++--------
 drivers/net/wireless/mediatek/mt76/mt792x.h   | 18 +++++++++++++++
 .../net/wireless/mediatek/mt76/mt792x_core.c  | 22 +++++++++++++++++++
 .../net/wireless/mediatek/mt76/mt792x_usb.c   |  9 ++++++++
 12 files changed, 58 insertions(+), 95 deletions(-)