diff options
| author | Tudor Ambarus <[email protected]> | 2019-09-24 07:45:53 +0000 |
|---|---|---|
| committer | Tudor Ambarus <[email protected]> | 2019-10-23 09:27:21 +0300 |
| commit | 45397787536434648495f7b02a7e669ab8ae12f3 (patch) | |
| tree | bd74c0a516ec9d4659fe162f3f336ee1cec4bdfd /tools/perf/scripts/python | |
| parent | 1a21bdfeac051c667352e8e16ee51b90e9a837c5 (diff) | |
mtd: spi-nor: Introduce 'struct spi_nor_controller_ops'
Move all SPI NOR controller driver specific ops in a dedicated
structure. 'struct spi_nor' becomes lighter.
Use size_t for lengths in 'int (*write_reg)()' and 'int (*read_reg)()'.
Rename wite/read_buf to buf, the name of the functions are
suggestive enough. Constify buf in int (*write_reg). Comply with these
changes in the SPI NOR controller drivers.
Suggested-by: Boris Brezillon <[email protected]>
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