diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2008-12-19 17:11:52 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-06 13:52:39 -0800 |
commit | 833dfbe746f85898dcbcf421c1177c3fd5773ff2 (patch) | |
tree | eff8cbd5edeec1b7de31ac70459fe000a244df08 /drivers/staging/epl/EplTimeruNull.c | |
parent | e0ca0595885e2e324eefe4f32cde6d65e61e6e28 (diff) |
Staging: epl: run Lindent on *.c files
It's a start, still a mess...
Cc: Daniel Krueger <daniel.krueger@systec-electronic.com>
Cc: Ronald Sieber <Ronald.Sieber@systec-electronic.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/epl/EplTimeruNull.c')
-rw-r--r-- | drivers/staging/epl/EplTimeruNull.c | 101 |
1 files changed, 45 insertions, 56 deletions
diff --git a/drivers/staging/epl/EplTimeruNull.c b/drivers/staging/epl/EplTimeruNull.c index ce9af380f0c..40ce403cbd0 100644 --- a/drivers/staging/epl/EplTimeruNull.c +++ b/drivers/staging/epl/EplTimeruNull.c @@ -132,11 +132,11 @@ //--------------------------------------------------------------------------- tEplKernel PUBLIC EplTimeruInit() { -tEplKernel Ret; + tEplKernel Ret; - Ret = EplTimeruAddInstance(); + Ret = EplTimeruAddInstance(); -return Ret; + return Ret; } //--------------------------------------------------------------------------- @@ -158,11 +158,11 @@ return Ret; //--------------------------------------------------------------------------- tEplKernel PUBLIC EplTimeruAddInstance() { -tEplKernel Ret; + tEplKernel Ret; - Ret = kEplSuccessful; + Ret = kEplSuccessful; -return Ret; + return Ret; } //--------------------------------------------------------------------------- @@ -186,11 +186,11 @@ return Ret; //--------------------------------------------------------------------------- tEplKernel PUBLIC EplTimeruDelInstance() { -tEplKernel Ret; + tEplKernel Ret; - Ret = kEplSuccessful; + Ret = kEplSuccessful; - return Ret; + return Ret; } //--------------------------------------------------------------------------- @@ -212,27 +212,24 @@ tEplKernel Ret; // State: // //--------------------------------------------------------------------------- -tEplKernel PUBLIC EplTimeruSetTimerMs(tEplTimerHdl* pTimerHdl_p, - unsigned long ulTime_p, - tEplTimerArg Argument_p) +tEplKernel PUBLIC EplTimeruSetTimerMs(tEplTimerHdl * pTimerHdl_p, + unsigned long ulTime_p, + tEplTimerArg Argument_p) { -tEplKernel Ret; + tEplKernel Ret; + Ret = kEplSuccessful; - Ret = kEplSuccessful; + // check handle + if (pTimerHdl_p == NULL) { + Ret = kEplTimerInvalidHandle; + goto Exit; + } - // check handle - if(pTimerHdl_p == NULL) - { - Ret = kEplTimerInvalidHandle; - goto Exit; - } - -Exit: - return Ret; + Exit: + return Ret; } - //--------------------------------------------------------------------------- // // Function: EplTimeruModifyTimerMs @@ -252,24 +249,22 @@ Exit: // State: // //--------------------------------------------------------------------------- -tEplKernel PUBLIC EplTimeruModifyTimerMs(tEplTimerHdl* pTimerHdl_p, - unsigned long ulTime_p, - tEplTimerArg Argument_p) +tEplKernel PUBLIC EplTimeruModifyTimerMs(tEplTimerHdl * pTimerHdl_p, + unsigned long ulTime_p, + tEplTimerArg Argument_p) { -tEplKernel Ret; + tEplKernel Ret; - Ret = kEplSuccessful; + Ret = kEplSuccessful; - // check parameter - if(pTimerHdl_p == NULL) - { - Ret = kEplTimerInvalidHandle; - goto Exit; - } + // check parameter + if (pTimerHdl_p == NULL) { + Ret = kEplTimerInvalidHandle; + goto Exit; + } - -Exit: - return Ret; + Exit: + return Ret; } //--------------------------------------------------------------------------- @@ -289,25 +284,22 @@ Exit: // State: // //--------------------------------------------------------------------------- -tEplKernel PUBLIC EplTimeruDeleteTimer(tEplTimerHdl* pTimerHdl_p) +tEplKernel PUBLIC EplTimeruDeleteTimer(tEplTimerHdl * pTimerHdl_p) { -tEplKernel Ret; - - Ret = kEplSuccessful; + tEplKernel Ret; - // check parameter - if(pTimerHdl_p == NULL) - { - Ret = kEplTimerInvalidHandle; - goto Exit; - } + Ret = kEplSuccessful; - // set handle invalide - *pTimerHdl_p = 0; + // check parameter + if (pTimerHdl_p == NULL) { + Ret = kEplTimerInvalidHandle; + goto Exit; + } + // set handle invalide + *pTimerHdl_p = 0; - -Exit: - return Ret; + Exit: + return Ret; } @@ -317,7 +309,4 @@ Exit: // // //=========================================================================// - - // EOF - |