Skip to content

Commit

Permalink
ubi: Fix a mistake in comment
Browse files Browse the repository at this point in the history
Fixes: 2a734bb ("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>
  • Loading branch information
Kai Song authored and Richard Weinberger committed Dec 23, 2021
1 parent 7296c8a commit bc7849e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/ubi/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bc7849e

Please sign in to comment.