wifi: mt76: limit support of precal loading for mt7915 to MTD only
authorChristian Marangi <ansuelsmth@gmail.com>
Wed, 18 Oct 2023 13:09:39 +0000 (15:09 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 7 Dec 2023 17:50:19 +0000 (18:50 +0100)
commita6342c31ab3b2cfae92298ff91635e8b82fed792
tree92236aeaf46fa02dd42e63f8e051aaac787db6ae
parentc33e5f4cbb9f961e66473a9ace077c4d1f29a5bb
wifi: mt76: limit support of precal loading for mt7915 to MTD only

Limit support for precal loading for mt7915 only to MTD. Passing data
from DT doesn't support offset and NVMEM require a different cell name
and doesn't support offset hence only MTD way is actually supported.

Rename mt76_get_of_eeprom_from_mtd to mt76_get_of_data_from_mtd as it is
now used for a more generic purpose and export it.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/eeprom.c
drivers/net/wireless/mediatek/mt76/mt76.h
drivers/net/wireless/mediatek/mt76/mt7915/eeprom.c