[PATCH 04/18] staging: exfat: Rename function "ffsLookupFile" to "ffs_lookup_file"

From: Pragat Pandya
Date: Tue Feb 11 2020 - 07:40:44 EST


Fix checkpatch warning: Avoid CamelCase
Change all occurrences of function "ffsLookupFile" to "ffs_lookup_file"
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 ba86ca572f32..6082c6e75468 100644
--- a/drivers/staging/exfat/exfat_super.c
+++ b/drivers/staging/exfat/exfat_super.c
@@ -534,7 +534,7 @@ static int ffs_sync_vol(struct super_block *sb, bool do_sync)
/* File Operation Functions */
/*----------------------------------------------------------------------*/

-static int ffsLookupFile(struct inode *inode, char *path, struct file_id_t *fid)
+static int ffs_lookup_file(struct inode *inode, char *path, struct file_id_t *fid)
{
int ret, dentry, num_entries;
struct chain_t dir;
@@ -2279,7 +2279,7 @@ static int exfat_find(struct inode *dir, struct qstr *qname,
if (qname->len == 0)
return -ENOENT;

- err = ffsLookupFile(dir, (u8 *)qname->name, fid);
+ err = ffs_lookup_file(dir, (u8 *)qname->name, fid);
if (err)
return -ENOENT;

--
2.17.1