diff options
author | Rene Sapiens <rene.sapiens@ti.com> | 2010-07-10 06:24:00 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-07-22 21:45:35 +0400 |
commit | e436d07db9db374105daa6c15d853e3f13a37104 (patch) | |
tree | 863785b582646946fe08c909113c04627a683cf4 /drivers/staging/tidspbridge/pmgr/msg.c | |
parent | a5120278008a5f48634085c23a70f1153065765d (diff) | |
download | linux-e436d07db9db374105daa6c15d853e3f13a37104.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:
========================================
phDevContext to device_ctx
phDevNode to dev_nde
phDevObject to device_obj
phDispObject to dispatch_obj
phDmmMgr to dmm_manager
phDrvObject to drv_obj
phDRVObject to drv_obj
phIOMgr to io_man
phLoader to loader
phManager to manager
phMgrObject to mgr_obj
phMgr to mgr
phMsgMgr to msg_man
phMsgQueue to msgq
phNldrNode to nldr_nodeobj
========================================
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/msg.c')
-rw-r--r-- | drivers/staging/tidspbridge/pmgr/msg.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/tidspbridge/pmgr/msg.c b/drivers/staging/tidspbridge/pmgr/msg.c index 6122cd46159d..3903c4147df6 100644 --- a/drivers/staging/tidspbridge/pmgr/msg.c +++ b/drivers/staging/tidspbridge/pmgr/msg.c @@ -45,7 +45,7 @@ static u32 refs; /* module reference count */ * Create an object to manage message queues. Only one of these objects * can exist per device object. */ -int msg_create(OUT struct msg_mgr **phMsgMgr, +int msg_create(OUT struct msg_mgr **msg_man, struct dev_object *hdev_obj, msg_onexit msg_callback) { struct bridge_drv_interface *intf_fxns; @@ -54,11 +54,11 @@ int msg_create(OUT struct msg_mgr **phMsgMgr, int status = 0; DBC_REQUIRE(refs > 0); - DBC_REQUIRE(phMsgMgr != NULL); + DBC_REQUIRE(msg_man != NULL); DBC_REQUIRE(msg_callback != NULL); DBC_REQUIRE(hdev_obj != NULL); - *phMsgMgr = NULL; + *msg_man = NULL; dev_get_intf_fxns(hdev_obj, &intf_fxns); @@ -73,7 +73,7 @@ int msg_create(OUT struct msg_mgr **phMsgMgr, msg_mgr_obj->intf_fxns = intf_fxns; /* Finally, return the new message manager handle: */ - *phMsgMgr = hmsg_mgr; + *msg_man = hmsg_mgr; } else { status = -EPERM; } |