diff options
author | Rene Sapiens <rene.sapiens@ti.com> | 2010-07-10 06:23:58 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-07-22 21:45:34 +0400 |
commit | aa09b091267694befb9459f22bed2d6437fb59f8 (patch) | |
tree | fcc29abd8de180654505b004b4291d62cd8602d1 /drivers/staging/tidspbridge/pmgr/cmm.c | |
parent | 95870a88ec83be6f10854c9da3bbadf27f3c07c3 (diff) | |
download | linux-aa09b091267694befb9459f22bed2d6437fb59f8.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:
========================================
pArb to arb
pbAlreadyAttached to already_attached
pBaseAddr to base_addr
pbHostBuf to host_buff
pBufVa to buf_va
pChnlInfo to channel_info
pConfig to config_param
pContent to content
pContext to context
pdcdProps to dcd_prop
pDepLibUuids to dep_lib_uuids
pDevNodeString to dev_node_strg
pDispAttrs to disp_attrs
pDsp to dsp
pdwAutoStart to auto_start
pdwChnl to chnl
========================================
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 b302db565bad..ff1621c2a0b1 100644 --- a/drivers/staging/tidspbridge/pmgr/cmm.c +++ b/drivers/staging/tidspbridge/pmgr/cmm.c @@ -1044,19 +1044,19 @@ void *cmm_xlator_alloc_buf(struct cmm_xlatorobject *xlator, void *pVaBuf, * Free the given SM buffer and descriptor. * Does not free virtual memory. */ -int cmm_xlator_free_buf(struct cmm_xlatorobject *xlator, void *pBufVa) +int cmm_xlator_free_buf(struct cmm_xlatorobject *xlator, void *buf_va) { struct cmm_xlator *xlator_obj = (struct cmm_xlator *)xlator; int status = -EPERM; void *buf_pa = NULL; DBC_REQUIRE(refs > 0); - DBC_REQUIRE(pBufVa != NULL); + DBC_REQUIRE(buf_va != NULL); DBC_REQUIRE(xlator_obj->ul_seg_id > 0); if (xlator_obj) { /* convert Va to Pa so we can free it. */ - buf_pa = cmm_xlator_translate(xlator, pBufVa, CMM_VA2PA); + buf_pa = cmm_xlator_translate(xlator, buf_va, CMM_VA2PA); if (buf_pa) { status = cmm_free_buf(xlator_obj->hcmm_mgr, buf_pa, xlator_obj->ul_seg_id); |