mtd: rawnand: Avoid a typedef
authorMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 26 May 2020 19:56:14 +0000 (21:56 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Sun, 31 May 2020 08:53:41 +0000 (10:53 +0200)
commitf66a6fd0dc7cc49c891a167937e161114f48a62e
treeab2e0edb345ccdfe9126ee10254a1b78dea545dd
parent519494a9afabe68a0a86e4b3e264e3e607193a02
mtd: rawnand: Avoid a typedef

In new code, the use of typedef is discouraged. Turn this one in the
raw NAND core into a regular enumeration.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Link: https://lore.kernel.org/linux-mtd/20200526195633.11543-3-miquel.raynal@bootlin.com
drivers/mtd/nand/raw/nand_base.c
include/linux/mtd/rawnand.h
include/linux/platform_data/mtd-davinci.h
include/linux/platform_data/mtd-nand-s3c2410.h