diff options
author | Rene Sapiens | 2010-07-10 04:23:59 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2010-07-22 19:45:35 +0200 |
commit | a5120278008a5f48634085c23a70f1153065765d (patch) | |
tree | 3f27183216489e4f5fa74e907279bb6cbe34af80 /drivers/staging/tidspbridge/pmgr/dev.c | |
parent | staging: ti dspbridge: Rename words with camel case (diff) | |
download | kernel-qcow2-linux-a5120278008a5f48634085c23a70f1153065765d.tar.gz kernel-qcow2-linux-a5120278008a5f48634085c23a70f1153065765d.tar.xz kernel-qcow2-linux-a5120278008a5f48634085c23a70f1153065765d.zip |
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:
========================================
pdwSize to buff_size
pdwState to board_state
pdwValue to value
pdwVersion to version
pElemExisting to elem_existing
pEntry to entry
pExists to exists
pfEnablePerf to enable_perf
pGenObj to gen_obj
phChnlMgr to channel_mgr
phChnl to chnl
phCodMgr to cod_mgr
phDCDHandle to dcd_handle
phDcdMgr to dcd_mgr
phDehMgr to deh_manager
========================================
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/dev.c')
-rw-r--r-- | drivers/staging/tidspbridge/pmgr/dev.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/staging/tidspbridge/pmgr/dev.c b/drivers/staging/tidspbridge/pmgr/dev.c index 2e4726eb793f..1cb891fd1b59 100644 --- a/drivers/staging/tidspbridge/pmgr/dev.c +++ b/drivers/staging/tidspbridge/pmgr/dev.c @@ -500,23 +500,23 @@ int dev_get_dmm_mgr(struct dev_object *hdev_obj, * Retrieve the COD manager create for this device. */ int dev_get_cod_mgr(struct dev_object *hdev_obj, - OUT struct cod_manager **phCodMgr) + OUT struct cod_manager **cod_mgr) { int status = 0; struct dev_object *dev_obj = hdev_obj; DBC_REQUIRE(refs > 0); - DBC_REQUIRE(phCodMgr != NULL); + DBC_REQUIRE(cod_mgr != NULL); if (hdev_obj) { - *phCodMgr = dev_obj->cod_mgr; + *cod_mgr = dev_obj->cod_mgr; } else { - *phCodMgr = NULL; + *cod_mgr = NULL; status = -EFAULT; } - DBC_ENSURE(DSP_SUCCEEDED(status) || ((phCodMgr != NULL) && - (*phCodMgr == NULL))); + DBC_ENSURE(DSP_SUCCEEDED(status) || ((cod_mgr != NULL) && + (*cod_mgr == NULL))); return status; } @@ -524,17 +524,17 @@ int dev_get_cod_mgr(struct dev_object *hdev_obj, * ========= dev_get_deh_mgr ======== */ int dev_get_deh_mgr(struct dev_object *hdev_obj, - OUT struct deh_mgr **phDehMgr) + OUT struct deh_mgr **deh_manager) { int status = 0; DBC_REQUIRE(refs > 0); - DBC_REQUIRE(phDehMgr != NULL); + DBC_REQUIRE(deh_manager != NULL); DBC_REQUIRE(hdev_obj); if (hdev_obj) { - *phDehMgr = hdev_obj->hdeh_mgr; + *deh_manager = hdev_obj->hdeh_mgr; } else { - *phDehMgr = NULL; + *deh_manager = NULL; status = -EFAULT; } return status; |