OSDN Git Service

mtd: nand: mxc: remove now unused code
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 17 Jan 2018 11:32:13 +0000 (12:32 +0100)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Mon, 12 Feb 2018 22:35:58 +0000 (23:35 +0100)
commit68dc8e41fdffcc26db8185dd336ee1ff91872770
treefdc64eeba91c56db22fe5507049575a3fc40aacf
parentcd8b4655332d45b1507a7cf1db025b869d0eb89a
mtd: nand: mxc: remove now unused code

Since we now have our own read_page/write_page functions
mxc_nand_command() will no longer be called with NAND_CMD_READ0,
NAND_CMD_READOOB, NAND_CMD_SEQIN and NAND_CMD_PAGEPROG. Remove
the code handling these commands.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
drivers/mtd/nand/mxc_nand.c