diff options
author | Rene Sapiens <rene.sapiens@ti.com> | 2010-07-09 03:11:08 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-07-09 03:30:59 +0400 |
commit | a6bff488e7267b65d7c6b2e0d5d2dd2257e65ea4 (patch) | |
tree | 4c442c2271087aebe496ec2edf2082d2ab8b17cc /drivers/staging/tidspbridge/pmgr/cmm.c | |
parent | 8dd1260f93ecc28cb36fd75e15ddca34b571602e (diff) | |
download | linux-a6bff488e7267b65d7c6b2e0d5d2dd2257e65ea4.tar.xz |
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:
========================================
aAddr to addrs
aArgs to args
aSize to len
baseAddress to base_address
bDynamicLoad to dynamic_load
bForce to force
cCharSize to char_size
cContentSize to content_size
cCount to count
cDspCharSize to dsp_char_size
cIndex to index
ClkId to clock_id
cOrigin to origin
dataBasePhys to data_base_phys
dcdObjUnion to dcd_obj
deviceContext to device_ctxt
========================================
Signed-off-by: Rene Sapiens <rene.sapiens@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/tidspbridge/pmgr/cmm.c')
-rw-r--r-- | drivers/staging/tidspbridge/pmgr/cmm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/tidspbridge/pmgr/cmm.c b/drivers/staging/tidspbridge/pmgr/cmm.c index 7aa4ca4a984c..711d206176df 100644 --- a/drivers/staging/tidspbridge/pmgr/cmm.c +++ b/drivers/staging/tidspbridge/pmgr/cmm.c @@ -304,7 +304,7 @@ int cmm_create(OUT struct cmm_object **ph_cmm_mgr, * Purpose: * Release the communication memory manager resources. */ -int cmm_destroy(struct cmm_object *hcmm_mgr, bool bForce) +int cmm_destroy(struct cmm_object *hcmm_mgr, bool force) { struct cmm_object *cmm_mgr_obj = (struct cmm_object *)hcmm_mgr; struct cmm_info temp_info; @@ -319,7 +319,7 @@ int cmm_destroy(struct cmm_object *hcmm_mgr, bool bForce) } mutex_lock(&cmm_mgr_obj->cmm_lock); /* If not force then fail if outstanding allocations exist */ - if (!bForce) { + if (!force) { /* Check for outstanding memory allocations */ status = cmm_get_info(hcmm_mgr, &temp_info); if (DSP_SUCCEEDED(status)) { @@ -989,7 +989,7 @@ int cmm_xlator_create(OUT struct cmm_xlatorobject **phXlator, * Free the Xlator resources. * VM gets freed later. */ -int cmm_xlator_delete(struct cmm_xlatorobject *xlator, bool bForce) +int cmm_xlator_delete(struct cmm_xlatorobject *xlator, bool force) { struct cmm_xlator *xlator_obj = (struct cmm_xlator *)xlator; int status = 0; |