mtd: rawnand: Get rid of chip->numchips
authorBoris Brezillon <bbrezillon@kernel.org>
Mon, 29 Oct 2018 10:58:29 +0000 (11:58 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 8 Apr 2019 08:21:16 +0000 (10:21 +0200)
commit32813e288414fecce18f37f8f0d0414a64b45c56
treeb8b5296f17bfcf1a266e0261fafc12fab5f337a1
parent6c836d515ff85e333488692c67969f714654a1c6
mtd: rawnand: Get rid of chip->numchips

The same information is provided by nanddev_ntargets().

Signed-off-by: Boris Brezillon <bbrezillon@kernel.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de>
drivers/mtd/nand/raw/diskonchip.c
drivers/mtd/nand/raw/fsl_elbc_nand.c
drivers/mtd/nand/raw/fsl_ifc_nand.c
drivers/mtd/nand/raw/hisi504_nand.c
drivers/mtd/nand/raw/ingenic/jz4740_nand.c
drivers/mtd/nand/raw/internals.h
drivers/mtd/nand/raw/nand_base.c
drivers/mtd/nand/raw/nand_bbt.c
include/linux/mtd/rawnand.h