]> git.baikalelectronics.ru Git - kernel.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)
commit6e1d7d55003309026a486b85545a18499d9db8a9
tree8fb20d0d8fde5a5be75feb0c9e6f74f3a7960604
parent5440c2065ad7b6295004d98b48a00bf50a892a27
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