[11/18] staging: exfat: Rename function "ffsRemoveFile" to "ffs_remove_file"
diff mbox series

Message ID 20200211123859.10429-12-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 "ffsRemoveFile" to "ffs_remove_file"
in source.

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

Patch
diff mbox series

diff --git a/drivers/staging/exfat/exfat_super.c b/drivers/staging/exfat/exfat_super.c
index 51893f8c3e92..05a4012c5c62 100644
--- a/drivers/staging/exfat/exfat_super.c
+++ b/drivers/staging/exfat/exfat_super.c
@@ -1296,7 +1296,7 @@  static int ffs_move_file(struct inode *old_parent_inode, struct file_id_t *fid,
 	return ret;
 }
 
-static int ffsRemoveFile(struct inode *inode, struct file_id_t *fid)
+static int ffs_remove_file(struct inode *inode, struct file_id_t *fid)
 {
 	s32 dentry;
 	int ret = 0;
@@ -2399,7 +2399,7 @@  static int exfat_unlink(struct inode *dir, struct dentry *dentry)
 
 	EXFAT_I(inode)->fid.size = i_size_read(inode);
 
-	err = ffsRemoveFile(dir, &(EXFAT_I(inode)->fid));
+	err = ffs_remove_file(dir, &(EXFAT_I(inode)->fid));
 	if (err)
 		goto out;
 
@@ -2449,7 +2449,7 @@  static int exfat_symlink(struct inode *dir, struct dentry *dentry,
 	err = ffs_write_file(dir, &fid, (char *)target, len, &ret);
 
 	if (err) {
-		ffsRemoveFile(dir, &fid);
+		ffs_remove_file(dir, &fid);
 		goto out;
 	}