mtd: rawnand: Get rid of chip->chipsize
authorBoris Brezillon <bbrezillon@kernel.org>
Mon, 29 Oct 2018 10:22:16 +0000 (11:22 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 8 Apr 2019 08:21:15 +0000 (10:21 +0200)
commit6c836d515ff85e333488692c67969f714654a1c6
treeae42b3bb232c1c8de264011a64d96bb71914d016
parent298151689b33e04eaf09cf22e1d42396f7723690
mtd: rawnand: Get rid of chip->chipsize

The target size can now be returned by nanddev_get_targetsize(). Get
rid of the chip->chipsize field and use this helper instead.

Signed-off-by: Boris Brezillon <bbrezillon@kernel.org>
Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
13 files changed:
drivers/mtd/nand/raw/bcm47xxnflash/ops_bcm4706.c
drivers/mtd/nand/raw/denali.c
drivers/mtd/nand/raw/fsl_elbc_nand.c
drivers/mtd/nand/raw/fsl_ifc_nand.c
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
drivers/mtd/nand/raw/ingenic/jz4740_nand.c
drivers/mtd/nand/raw/nand_base.c
drivers/mtd/nand/raw/nand_bbt.c
drivers/mtd/nand/raw/nand_jedec.c
drivers/mtd/nand/raw/nand_onfi.c
drivers/mtd/nand/raw/nandsim.c
drivers/mtd/nand/raw/sh_flctl.c
include/linux/mtd/rawnand.h