summaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorWangYuli <wangyuli@uniontech.com>2024-09-06 07:40:08 +0200
committerAndrew Morton <akpm@linux-foundation.org>2024-09-10 01:47:43 +0200
commitdab2214fec6057d2ba816bba1d30aca73c08ad68 (patch)
tree110c7c794047ae1a070fcaf4ebf6eb2b61db1a31 /drivers/mtd
parentocfs2: cleanup return value and mlog in ocfs2_global_read_info() (diff)
downloadlinux-dab2214fec6057d2ba816bba1d30aca73c08ad68.tar.xz
linux-dab2214fec6057d2ba816bba1d30aca73c08ad68.zip
treewide: correct the typo 'retun'
There are some spelling mistakes of 'retun' in comments which should be instead of 'return'. Link: https://lkml.kernel.org/r/63D0F870EE8E87A0+20240906054008.390188-1-wangyuli@uniontech.com Signed-off-by: WangYuli <wangyuli@uniontech.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/raw/nandsim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/raw/nandsim.c b/drivers/mtd/nand/raw/nandsim.c
index 179b28459b4b..df48b7d01d16 100644
--- a/drivers/mtd/nand/raw/nandsim.c
+++ b/drivers/mtd/nand/raw/nandsim.c
@@ -1381,7 +1381,7 @@ static inline union ns_mem *NS_GET_PAGE(struct nandsim *ns)
}
/*
- * Retuns a pointer to the current byte, within the current page.
+ * Returns a pointer to the current byte, within the current page.
*/
static inline u_char *NS_PAGE_BYTE_OFF(struct nandsim *ns)
{