mt76: move mt76x02_phy_adjust_vga_gain in mt76/mt76x02_phy.c
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Fri, 12 Oct 2018 10:16:25 +0000 (12:16 +0200)
committerFelix Fietkau <nbd@nbd.name>
Sat, 13 Oct 2018 15:39:49 +0000 (17:39 +0200)
commit9f884f0f9d000998a3e413232e9efcdbb5901139
tree508183da03ba87f4d0ac711aff37f2e7a59bb24f
parentb225a9b6c27ef2a0ea4a5e7fce647c6017b8affb
mt76: move mt76x02_phy_adjust_vga_gain in mt76/mt76x02_phy.c

Move mt76x02_phy_adjust_vga_gain routine in mt76x02-lib module
in order to be reused by mt76x0 driver for vga calibration

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