[PATCH v13 02/15] mtd: spi-nor: core: add spi_nor_{read,write}_reg() helpers

Tudor.Ambarus at microchip.com Tudor.Ambarus at microchip.com
Tue Sep 29 07:38:55 EDT 2020


On 9/16/20 3:44 PM, Pratyush Yadav wrote:
> They are thin wrappers around nor->controller_ops->{read,write}_reg().
> In a future commit DTR support will be added. These ops can not be
> supported by the {read,write}_reg() hooks and these helpers will make it
> easier to reject those calls.

2/15 and 3/15 are introducing wrappers for the controller ops. How about
squashing the commits and using the same naming scheme?

spi_nor_controller_ops_{read_reg,write_reg,erase}


More information about the linux-mtd mailing list