Re: [PATCH 1/2] wifi: mt76: split get_of_eeprom in subfunction

From: Rafał Miłecki
Date: Fri Jul 28 2023 - 13:45:44 EST


On 8.07.2023 20:29, Christian Marangi wrote:
In preparation for NVMEM support, split get_of_eeprom() in subfunction
to tidy the code and facilitate the addition of alternative method to
get eeprom data. No behaviour change intended.

While at it also drop OF ifdef checks as OF have stubs and calling
of_get_property would result in the same error returned.

Signed-off-by: Christian Marangi <ansuelsmth@xxxxxxxxx>

Reviewed-by: Rafał Miłecki <rafal@xxxxxxxxxx>