summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorTudor Ambarus <tudor.ambarus@microchip.com>2019-10-24 16:59:55 +0300
committerTudor Ambarus <tudor.ambarus@microchip.com>2019-11-01 10:20:36 +0200
commitb662d398ccf114a80c92140287a6507efb3e2dfc (patch)
treeafa94397dd5d7b5202a9151b5b4710235e73c6d7 /tools/perf/scripts/python/export-to-postgresql.py
parent5ce1b49ccb52fc3dd5679d8c523a3e8b5c812fb0 (diff)
mtd: spi-nor: Pointer parameter for CR in spi_nor_read_cr()
Let the callers pass the pointer to the DMA-able buffer where the value of the Configuration Register will be written. This way we avoid the casts between int and u8, which can be confusing. Callers stop compare the return value of spi_nor_read_cr() with negative, spi_nor_read_cr() returns 0 on success and -errno otherwise. 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