]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: rawnand: gpmi: remove unused parameters
authorSascha Hauer <s.hauer@pengutronix.de>
Tue, 21 May 2019 07:06:36 +0000 (09:06 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 27 Jun 2019 18:05:27 +0000 (20:05 +0200)
commit815d2c09f4a436d1668f5abc4e200c96292a048d
tree3fb793fca96cf50713c9641e3f084c066342be4f
parent2be7cd9c1bd2aff3d46b59554c677a46ee98dc76
mtd: rawnand: gpmi: remove unused parameters

gpmi_ecc_read_page_data uses the page parameter only for a debug printf,
so we can drop the parameter and the debug printf. Moving the oob
delivery from gpmi_ecc_read_page_data to gpmi_ecc_read_page makes the
oob_required parameter unnecessary aswell.

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/gpmi-nand.c