]> asedeno.scripts.mit.edu Git - linux.git/commit
mtd: rawnand: toshiba: Pass a single nand_chip object to the status helper
authorMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 24 Sep 2018 09:35:18 +0000 (11:35 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 8 Oct 2018 08:00:10 +0000 (10:00 +0200)
commite9836761867519e1e5beb7486dc73c3d5b8877f5
tree8fb20d0d8fde5a5be75feb0c9e6f74f3a7960604
parent309600c14e36d0e78c22fe3df58317965b90f4d1
mtd: rawnand: toshiba: Pass a single nand_chip object to the status helper

Now that most of the raw NAND API is consistent and has almost all its
helpers and hooks using a single nand_chip object instead of an mtd_info
one (or both), let's do the same cleanup in the raw NAND vendors
drivers.

Apply this change to the Toshiba driver so that the internal helper to
retrieve the ECC status does only take a nand_chip object.

Suggested-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
drivers/mtd/nand/raw/nand_toshiba.c