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

Run mt7603_mcu_restart routine directly and 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/mt7603/mcu.c