summaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-region.c
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2023-07-08 20:29:35 +0200
committerFelix Fietkau <nbd@nbd.name>2023-07-26 11:15:04 +0200
commit7d424a990e050ac09a0646edca083dcb4a516855 (patch)
tree2405afbdfd00d77dfcf4239da240a2d29f9c0b55 /drivers/fpga/fpga-region.c
parent02a894046d5ab7d0010f39ea54fde7e167919d04 (diff)
wifi: mt76: split get_of_eeprom in subfunction
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@gmail.com> Reviewed-by: Daniel Golle <daniel@makrotopia.org> Tested-by: Daniel Golle <daniel@makrotopia.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/fpga/fpga-region.c')
0 files changed, 0 insertions, 0 deletions