Messages in this thread | | | From | <> | Subject | Re: [PATCH] mtd: spi-nor: Introduce templates for SPI NOR operations | Date | Fri, 4 Mar 2022 09:34:49 +0000 |
| |
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@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/
| |