ubi: Fix a mistake in comment
authorKai Song <songkai01@inspur.com>
Tue, 5 Oct 2021 06:56:55 +0000 (14:56 +0800)
committerRichard Weinberger <richard@nod.at>
Thu, 23 Dec 2021 19:23:40 +0000 (20:23 +0100)
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>
drivers/mtd/ubi/debug.c

index 3c0c8eca4d5178394af518095fd9f2bff5d589c4..31d427ee191a3805624025389fc55f7e10b6a7fb 100644 (file)
@@ -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)