]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
mt76: mt7921: get rid of mcu_reset function pointer
authorLorenzo Bianconi <lorenzo@kernel.org>
Wed, 21 Apr 2021 10:28:33 +0000 (12:28 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 21 Apr 2021 18:55:55 +0000 (20:55 +0200)
commitd43b3257621dfe57c71d875afd3f624b9a042fc5
tree0e3c25f191fe16bab1f1a41b892f794dfdde432a
parent422f351193401428d62035c3f5a933ed46967517
mt76: mt7921: get rid of mcu_reset function pointer

since mcu_reset it used only by mt7921, move the reset callback to
mt7921_mcu_parse_response routine and get rid of the function pointer.

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