summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorFabio Estevam <[email protected]>2022-10-07 11:35:53 -0300
committerDario Binacchi <[email protected]>2022-10-09 10:42:26 +0200
commit7676811867b54d4cb7b3356505d41511614884f3 (patch)
tree6248364c406a46b698f93d7d27c20a43349d7bc9 /include/linux
parent90cce0582df43762e3db4176ab392e229a3194dc (diff)
mtd: Update the function name to 'rfree'
Since commit 8d38a8459b0d ("mtd: Rename free() to rfree()") the function has been renamed to rfree(), so update the description inside the mtd_oob_region structure as well. Fixes: 8d38a8459b0d ("mtd: Rename free() to rfree()") Reported-by: Mikhail Kshevetskiy <[email protected]> Signed-off-by: Fabio Estevam <[email protected]> Acked-by: Michael Trimarchi <[email protected]> Reviewed-by: Dario Binacchi <[email protected]> Signed-off-by: Dario Binacchi <[email protected]>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mtd/mtd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h
index ff635bd7168..09f52698877 100644
--- a/include/linux/mtd/mtd.h
+++ b/include/linux/mtd/mtd.h
@@ -122,7 +122,7 @@ struct mtd_oob_region {
* @ecc: function returning an ECC region in the OOB area.
* Should return -ERANGE if %section exceeds the total number of
* ECC sections.
- * @free: function returning a free region in the OOB area.
+ * @rfree: function returning a free region in the OOB area.
* Should return -ERANGE if %section exceeds the total number of
* free sections.
*/