diff options
author | Rene Sapiens <rene.sapiens@ti.com> | 2010-07-09 21:24:06 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-07-22 10:45:37 -0700 |
commit | 0cd343a42f60a965cece191efaefe51e01e58f64 (patch) | |
tree | d2f0c8adf077efff4bce2e5c627edce61645ecdc /drivers/staging/tidspbridge/rmgr/pwr.c | |
parent | 318b5df99bbbe58eb9f80105d9534117ac2f25ce (diff) | |
download | op-kernel-dev-0cd343a42f60a965cece191efaefe51e01e58f64.zip op-kernel-dev-0cd343a42f60a965cece191efaefe51e01e58f64.tar.gz |
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:
========================================
segmentId to segmnt_id
SetPageDirty to set_page_dirty
sizeInBytes to size_in_bytes
sleepCode to sleep_code
Status to status
symName to sym_name
szVar to sz_var
Trapped_Args to trapped_args
TTBPhysAddr to ttb_phys_addr
uChirps to chirps
uChnlId to ch_id
uChnlID to ch_id
uContentSize to cont_size
uDDMAChnlId to ddma_chnl_id
uEvents to events
ulAlign to align_mask
========================================
Signed-off-by: Rene Sapiens <rene.sapiens@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/tidspbridge/rmgr/pwr.c')
-rw-r--r-- | drivers/staging/tidspbridge/rmgr/pwr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/tidspbridge/rmgr/pwr.c b/drivers/staging/tidspbridge/rmgr/pwr.c index ec6d181..2d81743 100644 --- a/drivers/staging/tidspbridge/rmgr/pwr.c +++ b/drivers/staging/tidspbridge/rmgr/pwr.c @@ -36,7 +36,7 @@ * ======== pwr_sleep_dsp ======== * Send command to DSP to enter sleep state. */ -int pwr_sleep_dsp(IN CONST u32 sleepCode, IN CONST u32 timeout) +int pwr_sleep_dsp(IN CONST u32 sleep_code, IN CONST u32 timeout) { struct bridge_drv_interface *intf_fxns; struct bridge_dev_context *dw_context; @@ -59,9 +59,9 @@ int pwr_sleep_dsp(IN CONST u32 sleepCode, IN CONST u32 timeout) &intf_fxns))) { continue; } - if (sleepCode == PWR_DEEPSLEEP) + if (sleep_code == PWR_DEEPSLEEP) ioctlcode = BRDIOCTL_DEEPSLEEP; - else if (sleepCode == PWR_EMERGENCYDEEPSLEEP) + else if (sleep_code == PWR_EMERGENCYDEEPSLEEP) ioctlcode = BRDIOCTL_EMERGENCYSLEEP; else status = -EINVAL; |