mtd: rawnand: gpmi: move all driver code into single file
This moves the whole driver into a single C file. The filename gpmi-lib implies that it implements library functions, but in fact there are several cases where functions in gpmi-lib.c call back into functions in gpmi-nand.c. With this one has to constantly jump between those two files, so moving it into a single file improves readability, even when the file gets quite large. Signed-off-by:Sascha Hauer <s.hauer@pengutronix.de> Reviewed-by:
Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by:
Miquel Raynal <miquel.raynal@bootlin.com>
Showing
- drivers/mtd/nand/raw/gpmi-nand/Makefile 0 additions, 1 deletiondrivers/mtd/nand/raw/gpmi-nand/Makefile
- drivers/mtd/nand/raw/gpmi-nand/gpmi-lib.c 0 additions, 934 deletionsdrivers/mtd/nand/raw/gpmi-nand/gpmi-lib.c
- drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 1095 additions, 174 deletionsdrivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
- drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.h 0 additions, 34 deletionsdrivers/mtd/nand/raw/gpmi-nand/gpmi-nand.h
Loading
Please register or sign in to comment