Unify debugfs implementation between mt76x0 and mt76x2 drivers. Add get_survey support to mt76x0e driver Add mac work support to mt76x2u driver Lorenzo Bianconi (6): mt76x0: pci: add get_survey support mt76: move mt76x02_mac_work routine in mt76x02-lib module mt76: move mt76x02_debugfs in mt76x02-lib module mt76x0: use shared debugfs implementation mt76x0: use mt76x02_mac_work as stats handler mt76x2u: introduce mac workqueue support drivers/net/wireless/mediatek/mt76/Makefile | 2 +- .../wireless/mediatek/mt76/mt76x0/Makefile | 4 +- .../wireless/mediatek/mt76/mt76x0/debugfs.c | 87 ------------------- .../net/wireless/mediatek/mt76/mt76x0/init.c | 5 +- .../net/wireless/mediatek/mt76/mt76x0/mac.c | 66 -------------- .../net/wireless/mediatek/mt76/mt76x0/main.c | 5 ++ .../wireless/mediatek/mt76/mt76x0/mt76x0.h | 5 -- .../net/wireless/mediatek/mt76/mt76x0/pci.c | 2 + drivers/net/wireless/mediatek/mt76/mt76x02.h | 12 +-- .../{mt76x2/debugfs.c => mt76x02_debugfs.c} | 22 ++--- .../net/wireless/mediatek/mt76/mt76x02_mac.c | 56 ++++++++++++ .../net/wireless/mediatek/mt76/mt76x02_mac.h | 2 + .../wireless/mediatek/mt76/mt76x2/Makefile | 2 +- .../net/wireless/mediatek/mt76/mt76x2/init.c | 2 + .../net/wireless/mediatek/mt76/mt76x2/mac.h | 2 - .../wireless/mediatek/mt76/mt76x2/mt76x2.h | 5 -- .../wireless/mediatek/mt76/mt76x2/pci_init.c | 5 +- .../wireless/mediatek/mt76/mt76x2/pci_mac.c | 35 -------- .../wireless/mediatek/mt76/mt76x2/usb_init.c | 3 +- .../wireless/mediatek/mt76/mt76x2/usb_main.c | 2 + 20 files changed, 93 insertions(+), 231 deletions(-) delete mode 100644 drivers/net/wireless/mediatek/mt76/mt76x0/debugfs.c rename drivers/net/wireless/mediatek/mt76/{mt76x2/debugfs.c => mt76x02_debugfs.c} (86%) -- 2.19.0