]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: rawnand: gpmi: move all driver code into single file
authorSascha Hauer <s.hauer@pengutronix.de>
Tue, 9 Apr 2019 11:34:10 +0000 (13:34 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 27 Jun 2019 18:05:26 +0000 (20:05 +0200)
commitcae11ab4de49794a86851f352923a4dc55260626
tree811c5b1d1d4680618992d77a5e91daaa931f8d02
parent591def9aae760ebf3d34a3c14b6cc823e9f66f80
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>
drivers/mtd/nand/raw/gpmi-nand/Makefile
drivers/mtd/nand/raw/gpmi-nand/gpmi-lib.c [deleted file]
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.h