[PATCH] mtd: spi-nor: Introduce templates for SPI NOR operations
Tudor.Ambarus at microchip.com
Tudor.Ambarus at microchip.com
Fri Mar 4 01:34:49 PST 2022
On 3/4/22 11:30, Tudor Ambarus wrote:
> Clean the op declaration and hide the details of each op. With this it
> results a cleanner, easier to read code. No functional change expected.
>
> Signed-off-by: Tudor Ambarus <tudor.ambarus at microchip.com>
> ---
> drivers/mtd/spi-nor/core.c | 101 ++++++-------------------------
> drivers/mtd/spi-nor/core.h | 102 ++++++++++++++++++++++++++++++++
> drivers/mtd/spi-nor/micron-st.c | 24 ++++----
> drivers/mtd/spi-nor/spansion.c | 26 +++++---
> drivers/mtd/spi-nor/xilinx.c | 12 ++--
> 5 files changed, 158 insertions(+), 107 deletions(-)
> The patch is written on top of:
https://lore.kernel.org/lkml/20220228111712.111737-1-tudor.ambarus@microchip.com/
More information about the linux-mtd
mailing list