diff options
author | Rene Sapiens <rene.sapiens@ti.com> | 2010-07-09 21:24:05 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-07-22 10:45:36 -0700 |
commit | 318b5df99bbbe58eb9f80105d9534117ac2f25ce (patch) | |
tree | 23c80582ef2cedb12eee0f8ac521745ec2d5f266 /drivers/staging/tidspbridge/dynload | |
parent | 383b834522b11eec607dbe422835dcf5812730c3 (diff) |
staging: ti dspbridge: Rename words with camel case
The intention of this patch is to rename the remaining variables with camel
case. Variables will be renamed avoiding camel case and Hungarian notation.
The words to be renamed in this patch are:
========================================
puLen to len
pulEntry to entry_pt
pulFxnAddr to fxn_addr
pulId to chan_id
pulSegId to sgmt_id
pVaBuf to va_buf
pVirtualAddress to virtual_address
pwMbVal to mbx_val
pWord to word
pXlatorAttrs to xlator_attrs
registerFxn to register_fxn
rootPersistent to root_prstnt
sectionData to section_data
sectionInfo to section_info
sectionName to section_name
sectName to sec_name
========================================
Signed-off-by: Rene Sapiens <rene.sapiens@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/tidspbridge/dynload')
-rw-r--r-- | drivers/staging/tidspbridge/dynload/getsection.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/staging/tidspbridge/dynload/getsection.c b/drivers/staging/tidspbridge/dynload/getsection.c index 029898fc091f..30861189f9c5 100644 --- a/drivers/staging/tidspbridge/dynload/getsection.c +++ b/drivers/staging/tidspbridge/dynload/getsection.c @@ -226,8 +226,8 @@ void *dload_module_open(struct dynamic_loader_stream *module, * * Parameters: * minfo Handle from dload_module_open for this module - * sectionName Pointer to the string name of the section desired - * sectionInfo Address of a section info structure pointer to be + * section_name Pointer to the string name of the section desired + * section_info Address of a section info structure pointer to be * initialized * * Effect: @@ -237,8 +237,8 @@ void *dload_module_open(struct dynamic_loader_stream *module, * Returns: * true for success, false for section not found ************************************************************************* */ -int dload_get_section_info(void *minfo, const char *sectionName, - const struct ldr_section_info **const sectionInfo) +int dload_get_section_info(void *minfo, const char *section_name, + const struct ldr_section_info **const section_info) { struct dload_state *dlthis; struct ldr_section_info *shp; @@ -250,8 +250,8 @@ int dload_get_section_info(void *minfo, const char *sectionName, for (sec = 0; sec < dlthis->dfile_hdr.df_no_scns; sec++) { shp = DOFFSEC_IS_LDRSEC(&dlthis->sect_hdrs[sec]); - if (strcmp(sectionName, shp->name) == 0) { - *sectionInfo = shp; + if (strcmp(section_name, shp->name) == 0) { + *section_info = shp; return true; } } @@ -267,9 +267,9 @@ int dload_get_section_info(void *minfo, const char *sectionName, * * Parameters: * minfo Handle from dload_module_open for this module - * sectionInfo Pointer to a section info structure for the desired + * section_info Pointer to a section info structure for the desired * section - * sectionData Buffer to contain the section initialized data + * section_data Buffer to contain the section initialized data * * Effect: * Copies the initialized data for the specified section into the @@ -279,8 +279,8 @@ int dload_get_section_info(void *minfo, const char *sectionName, * true for success, false for section not found ************************************************************************* */ int dload_get_section(void *minfo, - const struct ldr_section_info *sectionInfo, - void *sectionData) + const struct ldr_section_info *section_info, + void *section_data) { struct dload_state *dlthis; u32 pos; @@ -289,12 +289,12 @@ int dload_get_section(void *minfo, struct image_packet_t ipacket; s32 ipsize; u32 checks; - s8 *dest = (s8 *) sectionData; + s8 *dest = (s8 *) section_data; dlthis = (struct dload_state *)minfo; if (!dlthis) return false; - sptr = LDRSEC_IS_DOFFSEC(sectionInfo); + sptr = LDRSEC_IS_DOFFSEC(section_info); if (sptr == NULL) return false; |