mt76: move mt76x02_eeprom_copy in mt76x02-lib module
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Mon, 29 Oct 2018 21:31:23 +0000 (22:31 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 30 Nov 2018 11:21:43 +0000 (12:21 +0100)
commit693792ec55d5d87d6d9f704f40cc77f6932820ad
tree798152d85123e9d753958fdf3b15ee1c1b92eddd
parent016ebffba18f6f792ad346c5b62941970f0e5b45
mt76: move mt76x02_eeprom_copy in mt76x02-lib module

Move mt76x02_eeprom_copy utility routine in mt76x02-lib module
in order to be reused by mt76x0 driver adding tssi calibration
support

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