]> 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)
commitf4a069960e39c7566acc865e3be2a2c7a4504050
tree8fb20d0d8fde5a5be75feb0c9e6f74f3a7960604
parent0b95ecc6cd17d0e3e238cf05f418548467884ca8
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