mt7615: mcu: use standard signature for mt7615_mcu_msg_send
authorLorenzo Bianconi <lorenzo@kernel.org>
Sat, 4 May 2019 15:29:06 +0000 (17:29 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 25 Jun 2019 10:55:26 +0000 (12:55 +0200)
commit516c3e3805339fb189e4842df9081a85644ac1b8
treeba75d5a5eafa8ff86539fc7cdc192b1d856e7a65
parenteb2024b08731f0d7e14206566dc30d4e57f361fc
mt7615: mcu: use standard signature for mt7615_mcu_msg_send

Use mt76 common signature for mt7615_mcu_msg_send. Move skb allocation
in mt7615_mcu_msg_send and remove duplicated code. Remove
__mt7615_mcu_set_wtbl and __mt7615_mcu_set_sta_rec since now are used
just to send mcu msgs.  This is a preliminary patch for mt7615-mt7603 mcu
code unification

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7615/mcu.c
drivers/net/wireless/mediatek/mt76/mt7615/mcu.h