Search Linux Wireless

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.20.1




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux