[PATCH 16/18] staging: exfat: Rename function "ffsCreateDir" to "ffs_create_dir"
From: Pragat Pandya
Date: Tue Feb 11 2020 - 07:41:51 EST
Fix checkpatch warning: Avoid CamelCase
Change all occurrences of function "ffsCreateDir" to "ffs_create_dir" in
source.
Signed-off-by: Pragat Pandya <pragat.pandya@xxxxxxxxx>
---
drivers/staging/exfat/exfat_super.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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;
--
2.17.1