wifi: mt76: mt7921: avoid mcu_restart function pointer
authorLorenzo Bianconi <lorenzo@kernel.org>
Sun, 1 Jan 2023 11:53:21 +0000 (12:53 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 3 Feb 2023 13:47:16 +0000 (14:47 +0100)
commit2d5dce5a658a0c8bcd2837b7b5d3b2a973b4efb4
tree2c930017930cdf5ca5772d4e5197386416a79494
parent8e4edae24962ec85b5f85fd218218ed9863e4c0d
wifi: mt76: mt7921: avoid mcu_restart function pointer

Avoid mcu_restart function pointer whenever it is possible.

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