From 0cd343a42f60a965cece191efaefe51e01e58f64 Mon Sep 17 00:00:00 2001 From: Rene Sapiens Date: Fri, 9 Jul 2010 21:24:06 -0500 Subject: 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 Signed-off-by: Greg Kroah-Hartman --- drivers/staging/tidspbridge/include/dspbridge/pwr.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'drivers/staging/tidspbridge/include/dspbridge/pwr.h') diff --git a/drivers/staging/tidspbridge/include/dspbridge/pwr.h b/drivers/staging/tidspbridge/include/dspbridge/pwr.h index 63ccf8ca8f4..9f32c896a84 100644 --- a/drivers/staging/tidspbridge/include/dspbridge/pwr.h +++ b/drivers/staging/tidspbridge/include/dspbridge/pwr.h @@ -25,7 +25,7 @@ * Signal the DSP to go to sleep. * * Parameters: - * sleepCode: New sleep state for DSP. (Initially, valid codes + * sleep_code: New sleep state for DSP. (Initially, valid codes * are PWR_DEEPSLEEP or PWR_EMERGENCYDEEPSLEEP; both of * these codes will simply put the DSP in deep sleep.) * @@ -39,13 +39,13 @@ * Returns: * 0: Success. * 0: Success, but the DSP was already asleep. - * -EINVAL: The specified sleepCode is not supported. + * -EINVAL: The specified sleep_code is not supported. * -ETIME: A timeout occured while waiting for DSP sleep * confirmation. * -EPERM: General failure, unable to send sleep command to * the DSP. */ -extern int pwr_sleep_dsp(IN CONST u32 sleepCode, IN CONST u32 timeout); +extern int pwr_sleep_dsp(IN CONST u32 sleep_code, IN CONST u32 timeout); /* * ======== pwr_wake_dsp ======== -- cgit v1.2.3