diff options
author | 2020-10-05 21:01:25 +0530 | |
---|---|---|
committer | 2020-11-09 11:56:16 +0530 | |
commit | 6e1bf55d7207aa360c8d1960dfac6af1940bd32e (patch) | |
tree | 20728b2224d27b8955013f59f12d9ce263e9848b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mtd: spi-nor: core: use EOPNOTSUPP instead of ENOTSUPP (diff) | |
download | wireguard-linux-6e1bf55d7207aa360c8d1960dfac6af1940bd32e.tar.xz wireguard-linux-6e1bf55d7207aa360c8d1960dfac6af1940bd32e.zip |
mtd: spi-nor: add spi_nor_controller_ops_{read_reg, write_reg, erase}()
They are thin wrappers around
nor->controller_ops->{read_reg,write_reg,erase}(). In a future commit
DTR support will be added. These ops can not be supported by the
controller_ops hooks and these helpers will make it easier to reject
those calls.
Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Link: https://lore.kernel.org/r/20201005153138.6437-3-p.yadav@ti.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions