mt76x0: init: simplify mt76x0_init_mac_registers
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Tue, 16 Oct 2018 09:42:32 +0000 (11:42 +0200)
committerFelix Fietkau <nbd@nbd.name>
Fri, 30 Nov 2018 11:21:40 +0000 (12:21 +0100)
commit00eccdd622078b319d789da4914715e68f42f3b5
treee6faf35e638b5a5329950ac5ee39362156b6ba4b
parentef442b73b6bc36b5499e1983611abb46e6337975
mt76x0: init: simplify mt76x0_init_mac_registers

Simplify mt76x0_init_mac_registers routine using mt76_set, mt76_clear
and mt76_rmw utility routines

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76x0/init.c