From: Sangho Yi <antiroot@gmail.com>
To: devel@driverdev.osuosl.org
Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org,
Sangho Yi <antiroot@gmail.com>
Subject: [PATCH] Drivers: Staging: CSR: made corrections on the indentation errors
Date: Sun, 14 Oct 2012 20:20:11 +0900 [thread overview]
Message-ID: <1350213611-19806-1-git-send-email-antiroot@gmail.com> (raw)
In-Reply-To: <n>
Originally there were a lot mis-indentation, so I made changes to use
only the tabs (no spaces) on indenting code.
- Still, the typedef struct ... tells warning message on checkpatch.pl.
Signed-off-by: Sangho Yi <antiroot@gmail.com>
---
drivers/staging/csr/csr_time.h | 54 ++++++++++++++++++++--------------------
1 file changed, 27 insertions(+), 27 deletions(-)
diff --git a/drivers/staging/csr/csr_time.h b/drivers/staging/csr/csr_time.h
index 2a45f3e..e3cae82 100644
--- a/drivers/staging/csr/csr_time.h
+++ b/drivers/staging/csr/csr_time.h
@@ -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.
*****************************************************************************/
@@ -19,12 +19,12 @@ extern "C" {
/*******************************************************************************
NAME
- CsrTime
+ 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.
+ 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;
@@ -33,43 +33,43 @@ typedef u32 CsrTime;
/*******************************************************************************
NAME
- CsrTimeUtc
+ CsrTimeUtc
DESCRIPTION
- Type to hold a value describing a UTC wallclock time expressed in
- seconds and milliseconds elapsed since midnight January 1st 1970.
+ Type to hold a value describing a UTC wallclock time expressed in
+ seconds and milliseconds elapsed since midnight January 1st 1970.
*******************************************************************************/
-typedef struct
-{
- u32 sec;
- u16 msec;
+typedef struct _CsrTimeUtc {
+ u32 sec;
+ u16 msec;
} CsrTimeUtc;
/*******************************************************************************
NAME
- CsrTimeGet
+ 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.
+ 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.
+ 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.
+ Low part of current system time in microseconds.
*******************************************************************************/
CsrTime CsrTimeGet(CsrTime *high);
--
1.7.9.5
next reply other threads:[~2012-10-14 11:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-14 11:20 Sangho Yi [this message]
2012-10-14 11:26 ` [PATCH] Drivers: Staging: CSR: made corrections on the indentation errors Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1350213611-19806-1-git-send-email-antiroot@gmail.com \
--to=antiroot@gmail.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox