From: Rafał Miłecki <rafal@xxxxxxxxxx> This patchset refactors driver part finding and reading NVRAM. It been tested on BCM4706. Updated code checks the same offsets as before. Driver still finds & copies NVRAM content. It's a new patchset replacing previous single-patch attempt: [PATCH V2 mips/linux.git] firmware: bcm47xx_nvram: refactor finding & reading NVRAM Rafał Miłecki (5): firmware: bcm47xx_nvram: rename finding function and its variables firmware: bcm47xx_nvram: add helper checking for NVRAM firmware: bcm47xx_nvram: extract code copying NVRAM firmware: bcm47xx_nvram: look for NVRAM with for instead of while firmware: bcm47xx_nvram: inline code checking NVRAM size drivers/firmware/broadcom/bcm47xx_nvram.c | 92 ++++++++++++----------- 1 file changed, 47 insertions(+), 45 deletions(-) -- 2.26.2