aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2022-08-05 19:01:17 +0100
committerMiquel Raynal <miquel.raynal@bootlin.com>2022-09-21 10:38:46 +0200
commit79db205db52f173832e5f7d55055ae7144eb0086 (patch)
tree0d97b5ef145c55c79786fd2d7dabb007752e2895 /drivers/mtd
parentmtd: rawnand: atmel: Unmap streaming DMA mappings (diff)
downloadlinux-dev-79db205db52f173832e5f7d55055ae7144eb0086.tar.xz
linux-dev-79db205db52f173832e5f7d55055ae7144eb0086.zip
mtd: rawnand: cafe: Use correct function name in comment block
The incorrect function name is being used in the comment for function cafe_nand_read_page. Correct it. Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20220805180117.2375503-1-colin.i.king@gmail.com
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/raw/cafe_nand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/raw/cafe_nand.c b/drivers/mtd/nand/raw/cafe_nand.c
index af119e376352..66385c4fb994 100644
--- a/drivers/mtd/nand/raw/cafe_nand.c
+++ b/drivers/mtd/nand/raw/cafe_nand.c
@@ -358,7 +358,7 @@ static int cafe_nand_read_oob(struct nand_chip *chip, int page)
return nand_read_oob_op(chip, page, 0, chip->oob_poi, mtd->oobsize);
}
/**
- * cafe_nand_read_page_syndrome - [REPLACEABLE] hardware ecc syndrome based page read
+ * cafe_nand_read_page - [REPLACEABLE] hardware ecc syndrome based page read
* @chip: nand chip info structure
* @buf: buffer to store read data
* @oob_required: caller expects OOB data read to chip->oob_poi