[16/18] staging: exfat: Rename function "ffsCreateDir" to "ffs_create_dir"
diff mbox series

Message ID 20200211123859.10429-17-pragat.pandya@gmail.com
State New
Headers show
Series
  • Rename some identifier and functions.
Related show

Commit Message

Pragat Pandya Feb. 11, 2020, 12:38 p.m. UTC
Fix checkpatch warning: Avoid CamelCase
Change all occurrences of function "ffsCreateDir" to "ffs_create_dir" in
source.

Signed-off-by: Pragat Pandya <pragat.pandya@gmail.com>
---
 drivers/staging/exfat/exfat_super.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch
diff mbox series

diff --git a/drivers/staging/exfat/exfat_super.c b/drivers/staging/exfat/exfat_super.c
index 87a7bcba4921..d8265dabe37d 100644
--- a/drivers/staging/exfat/exfat_super.c
+++ b/drivers/staging/exfat/exfat_super.c
@@ -1776,7 +1776,7 @@  static int ffs_map_cluster(struct inode *inode, s32 clu_offset, u32 *clu)
 /*  Directory Operation Functions                                       */
 /*----------------------------------------------------------------------*/
 
-static int ffsCreateDir(struct inode *inode, char *path, struct file_id_t *fid)
+static int ffs_create_dir(struct inode *inode, char *path, struct file_id_t *fid)
 {
 	int ret = 0;
 	struct chain_t dir;
@@ -2505,7 +2505,7 @@  static int exfat_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
 
 	pr_debug("%s entered\n", __func__);
 
-	err = ffsCreateDir(dir, (u8 *)dentry->d_name.name, &fid);
+	err = ffs_create_dir(dir, (u8 *)dentry->d_name.name, &fid);
 	if (err)
 		goto out;