mtd: rawnand: Reorganize the nand_chip structure
authorMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 29 May 2020 11:13:00 +0000 (13:13 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 26 Jun 2020 06:35:04 +0000 (08:35 +0200)
commita63674c7cfe62221e05ba73107d9e15d73ff8bbd
tree37c6d4dcf0c5d868b85f53831049fc7bbc0bd387
parent36017af430e6b2fad0b2ee5476103706160f1379
mtd: rawnand: Reorganize the nand_chip structure

Reorder fields in this structure and pack entries by theme:
* The main descriptive structures
* The data interface details
* Bad block information
* The device layout
* Extra buffers matching the device layout
* Internal values
* External objects like the ECC controller, the ECC engine and a
  private data pointer.

While at it, adapt the documentation style.

I changed on purpose the description of @oob_poi which was weird.

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-7-miquel.raynal@bootlin.com
include/linux/mtd/rawnand.h