aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTudor Ambarus <[email protected]>2019-10-24 16:59:55 +0300
committerTudor Ambarus <[email protected]>2019-11-01 10:20:36 +0200
commitb662d398ccf114a80c92140287a6507efb3e2dfc (patch)
treeafa94397dd5d7b5202a9151b5b4710235e73c6d7 /tools/perf/scripts/python
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 <[email protected]> Reviewed-by: Boris Brezillon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions