Move token management in mt76 common module since it is shared between mt7615, mt7915 and mt7921 drivers Lorenzo Bianconi (2): mt76: move token_lock, token and token_count in mt76_dev mt76: move token utilities in mt76 common module drivers/net/wireless/mediatek/mt76/mt76.h | 54 +++++++++++++-- .../net/wireless/mediatek/mt76/mt7615/mac.c | 14 ++-- .../net/wireless/mediatek/mt76/mt7615/mmio.c | 1 + .../wireless/mediatek/mt76/mt7615/mt7615.h | 3 - .../wireless/mediatek/mt76/mt7615/pci_init.c | 3 +- .../wireless/mediatek/mt76/mt7615/pci_mac.c | 10 +-- .../net/wireless/mediatek/mt76/mt7915/init.c | 3 +- .../net/wireless/mediatek/mt76/mt7915/mac.c | 64 +++-------------- .../wireless/mediatek/mt76/mt7915/mt7915.h | 5 -- .../net/wireless/mediatek/mt76/mt7915/pci.c | 1 + .../net/wireless/mediatek/mt76/mt7921/init.c | 4 +- .../net/wireless/mediatek/mt76/mt7921/mac.c | 58 +++------------- .../wireless/mediatek/mt76/mt7921/mt7921.h | 5 -- .../net/wireless/mediatek/mt76/mt7921/pci.c | 1 + drivers/net/wireless/mediatek/mt76/tx.c | 68 +++++++++++++++++++ 15 files changed, 153 insertions(+), 141 deletions(-) -- 2.30.2