[PATCH 07/14] mtd: rawnand: gpmi: remove unused parameters

Miquel Raynal miquel.raynal at bootlin.com
Wed Apr 17 03:26:05 PDT 2019


Hi Sascha,

Sascha Hauer <s.hauer at pengutronix.de> wrote on Tue,  9 Apr 2019
13:34:14 +0200:

> 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 at pengutronix.de>
> ---
>  drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c | 34 ++++++++++++----------
>  1 file changed, 19 insertions(+), 15 deletions(-)
> 

Reviewed-by: Miquel Raynal <miquel.raynal at bootlin.com>


Thanks,
Miquèl



More information about the linux-mtd mailing list