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

Rafał Miłecki zajec5 at gmail.com
Fri Jul 28 10:45:28 PDT 2023


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 at gmail.com>

Reviewed-by: Rafał Miłecki <rafal at milecki.pl>



More information about the linux-arm-kernel mailing list