OSDN Git Service

mtd: rawnand: Create a nand_chip operations structure
authorMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 29 May 2020 11:12:57 +0000 (13:12 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 26 Jun 2020 06:35:04 +0000 (08:35 +0200)
commit8e8b2706e15d16443b1ea61a6f994c08ec5b9486
tree688f823f51226caaaef6bc7f8f95c31fad148e5d
parentd1f3837a507d73746f9e2118fad20ee5e57e86cc
mtd: rawnand: Create a nand_chip operations structure

And move nand_chip hooks there.

While moving entries from one structure to the other, adapt the
documentation style.

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-4-miquel.raynal@bootlin.com
drivers/mtd/nand/raw/nand_base.c
drivers/mtd/nand/raw/nand_hynix.c
drivers/mtd/nand/raw/nand_macronix.c
drivers/mtd/nand/raw/nand_micron.c
include/linux/mtd/rawnand.h