[PATCH 06/18] staging: exfat: Rename function "ffsReadFile" to "ffs_read_file"

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


Fix checkpatch warning: Avoid CamelCase
Change all occurrences of function "ffsReadFile" to "ffs_read_file" in
source.

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

diff --git a/drivers/staging/exfat/exfat_super.c b/drivers/staging/exfat/exfat_super.c
index 5080de9b289a..c7f56f77e4bb 100644
--- a/drivers/staging/exfat/exfat_super.c
+++ b/drivers/staging/exfat/exfat_super.c
@@ -662,8 +662,8 @@ static int ffs_create_file(struct inode *inode, char *path, u8 mode,
return ret;
}

-static int ffsReadFile(struct inode *inode, struct file_id_t *fid, void *buffer,
- u64 count, u64 *rcount)
+static int ffs_read_file(struct inode *inode, struct file_id_t *fid, void *buffer,
+ u64 count, u64 *rcount)
{
s32 offset, sec_offset, clu_offset;
u32 clu;
@@ -2329,8 +2329,8 @@ static struct dentry *exfat_lookup(struct inode *dir, struct dentry *dentry,
err = -ENOMEM;
goto error;
}
- ffsReadFile(dir, &fid, EXFAT_I(inode)->target,
- i_size_read(inode), &ret);
+ ffs_read_file(dir, &fid, EXFAT_I(inode)->target,
+ i_size_read(inode), &ret);
*(EXFAT_I(inode)->target + i_size_read(inode)) = '\0';
}

--
2.17.1