mbox series

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

Message ID cover.1548952312.git.lorenzo.bianconi@redhat.com (mailing list archive)
Headers show
Series mt76x{0,2}: move alloc_device common code in mt76_common module | expand

Message

Lorenzo Bianconi Jan. 31, 2019, 4:55 p.m. UTC
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(-)

Comments

Felix Fietkau Feb. 7, 2019, 1:54 p.m. UTC | #1
On 2019-01-31 17:55, Lorenzo Bianconi wrote:
> 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
Applied, thanks.

- Felix