summaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorKai Song <songkai01@inspur.com>2021-10-05 14:56:55 +0800
committerRichard Weinberger <richard@nod.at>2021-12-23 20:23:40 +0100
commitbc7849e280434289936b5cbe1b3701336741aba9 (patch)
treec1e44f0e524fc66f36f1178f17ac26e8edd01765 /drivers/mtd
parent7296c8af6a341e30b517afc1ccd107cf10926d03 (diff)
downloadlinux-bc7849e280434289936b5cbe1b3701336741aba9.tar.bz2
ubi: Fix a mistake in comment
Fixes: 2a734bb8d502 ("UBI: use debugfs for the extra checks knobs") There is a mistake in docstrings, it should be ubi_debugfs_exit_dev instead of dbg_debug_exit_dev. Signed-off-by: Kai Song <songkai01@inspur.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/ubi/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/debug.c b/drivers/mtd/ubi/debug.c
index 3c0c8eca4d51..31d427ee191a 100644
--- a/drivers/mtd/ubi/debug.c
+++ b/drivers/mtd/ubi/debug.c
@@ -562,7 +562,7 @@ int ubi_debugfs_init_dev(struct ubi_device *ubi)
}
/**
- * dbg_debug_exit_dev - free all debugfs files corresponding to device @ubi
+ * ubi_debugfs_exit_dev - free all debugfs files corresponding to device @ubi
* @ubi: UBI device description object
*/
void ubi_debugfs_exit_dev(struct ubi_device *ubi)