]> 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)
commit43f21e4e37a51e21a58356683392110ee9a81ac0
tree811c5b1d1d4680618992d77a5e91daaa931f8d02
parent045a643218bdd73e5a4b5db8291dc15c2cf935be
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