mtd: nandsim: Embed struct nand_chip in struct nandsim
authorRichard Weinberger <richard@nod.at>
Wed, 17 Apr 2019 18:54:32 +0000 (20:54 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 18 Apr 2019 06:54:08 +0000 (08:54 +0200)
commit74aee14c776cd98e87635b7523809db3b3a693eb
tree1eab8df035b9abc460e1a7bd1d2120e5940ade28
parent598dce7068179d49b78d116fcb74422beeb3efd7
mtd: nandsim: Embed struct nand_chip in struct nandsim

We will need struct nand_controller soon, so more stuff need to
be parts of struct nandsim.
While we are here, rename "nand" to "ns" to use the same naming scheme
everywhere in nandsim.

Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/nandsim.c