diff options
author | Tudor Ambarus <tudor.ambarus@microchip.com> | 2019-08-23 15:53:37 +0000 |
---|---|---|
committer | Tudor Ambarus <tudor.ambarus@microchip.com> | 2019-08-28 12:40:26 +0300 |
commit | 1e35a56781b4b5d83f428c2c40a1b6fa5bca8cd1 (patch) | |
tree | ebd8394d29df96a265fb4efb50fdc3fbd7fd7022 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 47599127a2e8c42843e27fc370e63cc5344a2a38 (diff) |
mtd: spi-nor: Use nor->params
The Flash parameters and settings are now stored in 'struct spi_nor'.
Use this instead of the stack allocated params.
Few functions stop passing pointer to params, as they can get it from
'struct spi_nor'. spi_nor_parse_sfdp() and children will keep passing
pointer to params because of the roll-back mechanism: in case the
parsing of SFDP fails, the legacy flash parameter and settings will be
restored.
Zeroing params is no longer needed because all SPI NOR users kzalloc
'struct spi_nor'.
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Vignesh Raghavendra <vigneshr@ti.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions