diff options
author | Tudor Ambarus <[email protected]> | 2021-03-06 11:50:00 +0200 |
---|---|---|
committer | Tudor Ambarus <[email protected]> | 2021-03-15 18:01:47 +0200 |
commit | a580293a19fc49b2745019075f9fa8561a6a0b32 (patch) | |
tree | bcbe5ee14ab94d1d1271dbaa6b207f9f423ad399 /lib/mpi/mpi-sub-ui.c | |
parent | 8758888c3d7873004b4ebf516430cba70bbcf39a (diff) |
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 69a8eed58cc0 ("mtd: spi-nor: Don't copy self-pointing struct around")'
Signed-off-by: Tudor Ambarus <[email protected]>
Reviewed-by: Pratyush Yadav <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions