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)
commitad8b4f1454ad2c7509bc8bf8930bead59619d117
tree3fb793fca96cf50713c9641e3f084c066342be4f
parentb05d73d2ceafe0d2f65f8223c2b4259e6aefcbe9
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