Skip to content

Commit

Permalink
Staging: CSR: csr_time.h: fixed indentation warnings based on coding …
Browse files Browse the repository at this point in the history
…style

I fixed the indentation warnings on csr_time.h.

Signed-off-by: Sangho Yi <antiroot@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Sangho Yi authored and Greg Kroah-Hartman committed Oct 22, 2012
1 parent 0567e1e commit 7177572
Showing 1 changed file with 32 additions and 31 deletions.
63 changes: 32 additions & 31 deletions drivers/staging/csr/csr_time.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
#define CSR_TIME_H__
/*****************************************************************************
(c) Cambridge Silicon Radio Limited 2010
All rights reserved and confidential information of CSR
(c) Cambridge Silicon Radio Limited 2010
All rights reserved and confidential information of CSR
Refer to LICENSE.txt included with this source for details
on the license terms.
Refer to LICENSE.txt included with this source for details
on the license terms.
*****************************************************************************/

Expand All @@ -18,26 +18,26 @@ extern "C" {

/*******************************************************************************
NAME
CsrTime
NAME
CsrTime
DESCRIPTION
Type to hold a value describing the current system time, which is a
measure of time elapsed since some arbitrarily defined fixed time
reference, usually associated with system startup.
DESCRIPTION
Type to hold a value describing the current system time, which is a
measure of time elapsed since some arbitrarily defined fixed time
reference, usually associated with system startup.
*******************************************************************************/
typedef u32 CsrTime;


/*******************************************************************************
NAME
CsrTimeUtc
NAME
CsrTimeUtc
DESCRIPTION
Type to hold a value describing a UTC wallclock time expressed in
seconds and milliseconds elapsed since midnight January 1st 1970.
DESCRIPTION
Type to hold a value describing a UTC wallclock time expressed in
seconds and milliseconds elapsed since midnight January 1st 1970.
*******************************************************************************/
typedef struct
Expand All @@ -49,27 +49,28 @@ typedef struct

/*******************************************************************************
NAME
CsrTimeGet
NAME
CsrTimeGet
DESCRIPTION
Returns the current system time in a low and a high part. The low part
is expressed in microseconds. The high part is incremented when the low
part wraps to provide an extended range.
DESCRIPTION
Returns the current system time in a low and a high part. The low part
is expressed in microseconds. The high part is incremented when the low
part wraps to provide an extended range.
The caller may provide a NULL pointer as the high parameter. In this case
the function just returns the low part and ignores the high parameter.
The caller may provide a NULL pointer as the high parameter.
In this case the function just returns the low part and ignores the
high parameter.
Although the time is expressed in microseconds the actual resolution is
platform dependent and can be less. It is recommended that the
resolution is at least 10 milliseconds.
Although the time is expressed in microseconds the actual resolution is
platform dependent and can be less. It is recommended that the
resolution is at least 10 milliseconds.
PARAMETERS
high - Pointer to variable that will receive the high part of the
current system time. Passing NULL is valid.
PARAMETERS
high - Pointer to variable that will receive the high part of the
current system time. Passing NULL is valid.
RETURNS
Low part of current system time in microseconds.
RETURNS
Low part of current system time in microseconds.
*******************************************************************************/
CsrTime CsrTimeGet(CsrTime *high);
Expand Down

0 comments on commit 7177572

Please sign in to comment.