Skip to content
Commit a580293a authored by Tudor Ambarus's avatar Tudor Ambarus
Browse files

mtd: spi-nor: Get rid of duplicated argument in spi_nor_parse_sfdp()



spi_nor_parse_sfdp(nor, nor->params);
passes for the second argument a member within the first argument.
Drop the second argument and obtain it directly from the first,
and do it across all the children functions. This is a follow up for
'commit 69a8eed5 ("mtd: spi-nor: Don't copy self-pointing struct around")'

Signed-off-by: default avatarTudor Ambarus <tudor.ambarus@microchip.com>
Reviewed-by: default avatarPratyush Yadav <p.yadav@ti.com>
Link: https://lore.kernel.org/r/20210306095002.22983-4-tudor.ambarus@microchip.com
parent 8758888c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment