From 833dfbe746f85898dcbcf421c1177c3fd5773ff2 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Fri, 19 Dec 2008 17:11:52 -0800 Subject: Staging: epl: run Lindent on *.c files It's a start, still a mess... Cc: Daniel Krueger Cc: Ronald Sieber Signed-off-by: Greg Kroah-Hartman --- drivers/staging/epl/EplPdokCal.c | 32 ++++++++++++-------------------- 1 file changed, 12 insertions(+), 20 deletions(-) (limited to 'drivers/staging/epl/EplPdokCal.c') diff --git a/drivers/staging/epl/EplPdokCal.c b/drivers/staging/epl/EplPdokCal.c index 0dd99548d28..f44c4757800 100644 --- a/drivers/staging/epl/EplPdokCal.c +++ b/drivers/staging/epl/EplPdokCal.c @@ -72,7 +72,6 @@ #if (((EPL_MODULE_INTEGRATION) & (EPL_MODULE_PDOK)) != 0) - /***************************************************************************/ /* */ /* */ @@ -97,7 +96,6 @@ // local function prototypes //--------------------------------------------------------------------------- - /***************************************************************************/ /* */ /* */ @@ -111,7 +109,6 @@ // /***************************************************************************/ - //=========================================================================// // // // P R I V A T E D E F I N I T I O N S // @@ -126,9 +123,8 @@ // local types //--------------------------------------------------------------------------- -typedef struct -{ - BOOL m_fTpdosValid; +typedef struct { + BOOL m_fTpdosValid; } tEplPdokCalInstance; @@ -136,13 +132,12 @@ typedef struct // local vars //--------------------------------------------------------------------------- -static tEplPdokCalInstance EplPdokCalInstance_g; +static tEplPdokCalInstance EplPdokCalInstance_g; //--------------------------------------------------------------------------- // local function prototypes //--------------------------------------------------------------------------- - //=========================================================================// // // // P U B L I C F U N C T I O N S // @@ -167,9 +162,9 @@ static tEplPdokCalInstance EplPdokCalInstance_g; tEplKernel EplPdokCalAddInstance(void) { - EPL_MEMSET(&EplPdokCalInstance_g, 0, sizeof(EplPdokCalInstance_g)); + EPL_MEMSET(&EplPdokCalInstance_g, 0, sizeof(EplPdokCalInstance_g)); - return kEplSuccessful; + return kEplSuccessful; } //--------------------------------------------------------------------------- @@ -190,10 +185,9 @@ tEplKernel EplPdokCalAddInstance(void) tEplKernel EplPdokCalDelInstance(void) { - return kEplSuccessful; + return kEplSuccessful; } - //--------------------------------------------------------------------------- // // Function: EplPdokCalSetTpdosValid() @@ -212,11 +206,11 @@ tEplKernel EplPdokCalDelInstance(void) tEplKernel EplPdokCalSetTpdosValid(BOOL fValid_p) { -tEplKernel Ret = kEplSuccessful; + tEplKernel Ret = kEplSuccessful; - EplPdokCalInstance_g.m_fTpdosValid = fValid_p; + EplPdokCalInstance_g.m_fTpdosValid = fValid_p; - return Ret; + return Ret; } //--------------------------------------------------------------------------- @@ -236,14 +230,13 @@ tEplKernel Ret = kEplSuccessful; tEplKernel EplPdokCalAreTpdosValid(BOOL * pfValid_p) { -tEplKernel Ret = kEplSuccessful; + tEplKernel Ret = kEplSuccessful; - *pfValid_p = EplPdokCalInstance_g.m_fTpdosValid; + *pfValid_p = EplPdokCalInstance_g.m_fTpdosValid; - return Ret; + return Ret; } - //=========================================================================// // // // P R I V A T E F U N C T I O N S // @@ -271,4 +264,3 @@ tEplKernel Ret = kEplSuccessful; #endif // EOF - -- cgit v1.2.3