mtd: rawnand: Declare the nand_manufacturer structure out of nand_chip
authorMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 29 May 2020 11:12:59 +0000 (13:12 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 26 Jun 2020 06:35:04 +0000 (08:35 +0200)
commit36017af430e6b2fad0b2ee5476103706160f1379
tree0c81f187d910a31603734a6bb9cfa96a03973352
parent271de009b7c0c1c15f63491a352ab08835462977
mtd: rawnand: Declare the nand_manufacturer structure out of nand_chip

Now that struct nand_manufacturer type is free, use it to store the
nand_manufacturer_desc and the manufacturer's private data.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Link: https://lore.kernel.org/linux-mtd/20200529111322.7184-6-miquel.raynal@bootlin.com
include/linux/mtd/rawnand.h