mtd: rawnand: pl353: Fix kernel doc
authorMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 11 Dec 2023 15:05:24 +0000 (16:05 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 14 Dec 2023 15:41:56 +0000 (16:41 +0100)
Both the "chip" kernel doc member and description are wrong. This field
is called "chips" and describes the list of NAND chips connected to the
controller.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202312102130.geZ4dqyN-lkp@intel.com/
Fixes: 08d8c62164a3 ("mtd: rawnand: pl353: Add support for the ARM PL353 SMC NAND controller")
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20231211150524.108803-1-miquel.raynal@bootlin.com
drivers/mtd/nand/raw/pl35x-nand-controller.c

index c506e92a3e457d857d54e68cc4b9ccc728097250..1c76ee98efb71320c834cf555dfe3ca0cb27f850 100644 (file)
@@ -128,7 +128,7 @@ struct pl35x_nand {
  * @conf_regs: SMC configuration registers for command phase
  * @io_regs: NAND data registers for data phase
  * @controller: Core NAND controller structure
- * @chip: NAND chip information structure
+ * @chips: List of connected NAND chips
  * @selected_chip: NAND chip currently selected by the controller
  * @assigned_cs: List of assigned CS
  * @ecc_buf: Temporary buffer to extract ECC bytes