summaryrefslogtreecommitdiff
path: root/include/linux/mtd
diff options
context:
space:
mode:
authorPratyush Yadav <p.yadav@ti.com>2020-10-05 21:01:25 +0530
committerVignesh Raghavendra <vigneshr@ti.com>2020-11-09 11:56:16 +0530
commit6e1bf55d7207aa360c8d1960dfac6af1940bd32e (patch)
tree20728b2224d27b8955013f59f12d9ce263e9848b /include/linux/mtd
parent39bdfb789bac58a323b1dac56d0f55b65ed894ee (diff)
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 'include/linux/mtd')
0 files changed, 0 insertions, 0 deletions