diff options
author | Tudor Ambarus <tudor.ambarus@microchip.com> | 2019-09-24 07:45:58 +0000 |
---|---|---|
committer | Tudor Ambarus <tudor.ambarus@microchip.com> | 2019-10-23 09:27:21 +0300 |
commit | a5c6603038caf86ee08efa871d4b10806cee3dfd (patch) | |
tree | 0809a280aba77a3677b2b0d3df8b398179e25acb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 45397787536434648495f7b02a7e669ab8ae12f3 (diff) |
mtd: spi-nor: cadence-quadspi: Fix cqspi_command_read() definition
n_tx was never used, drop it. Replace 'const u8 *txbuf' with 'u8 opcode',
to comply with the SPI NOR int (*read_reg)() method. The 'const'
qualifier has no meaning for parameters passed by value, drop it.
Going furher, the opcode was passed to cqspi_calc_rdreg() and never used,
drop it.
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions