diff options
author | 2018-12-06 11:41:18 +0100 | |
---|---|---|
committer | 2018-12-10 21:59:08 +0100 | |
commit | b296379fef7ce9f96129798825ab04683414313b (patch) | |
tree | f1c13a374d7df7b7890b8f210442e44f1addc162 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mtd: spi-nor: Avoid forward declaration of internal functions (diff) | |
download | wireguard-linux-b296379fef7ce9f96129798825ab04683414313b.tar.xz wireguard-linux-b296379fef7ce9f96129798825ab04683414313b.zip |
mtd: spi-nor: Stop passing flash_info around
Some functions called from spi_nor_scan() need a flash_info object.
Let's assign nor->info early on to avoid passing info as an extra
argument to each of these sub-functions.
We also stop passing a flash_info object to set_4byte() and use
nor->info directly.
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions