]> git.baikalelectronics.ru Git - kernel.git/commit
mt76: move initialization of some struct members to mt76_alloc_device
authorFelix Fietkau <nbd@nbd.name>
Mon, 30 Sep 2019 19:23:03 +0000 (21:23 +0200)
committerFelix Fietkau <nbd@nbd.name>
Fri, 14 Feb 2020 06:49:59 +0000 (07:49 +0100)
commita601a5790d4a451c6a5544db4228e144259bdd25
tree4f7c43fe622115927b57f52445d1c5d0040ce6b1
parent84cda5defaa2830378fbe9e3fa8782e5953573e2
mt76: move initialization of some struct members to mt76_alloc_device

Reduces duplication and prepares for further rework

Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/dma.c
drivers/net/wireless/mediatek/mt76/mac80211.c
drivers/net/wireless/mediatek/mt76/usb.c