public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ciaran McCormick <ciaranmccormick@gmail.com>
To: gregkh@suse.de, shemminger@vyatta.com
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
	Ciaran McCormick <ciaranmccormick@gmail.com>
Subject: [PATCH] Stageing: bcm: fixed spacing coding style in led_control.c
Date: Tue,  1 Nov 2011 10:44:19 +0000	[thread overview]
Message-ID: <1320144259-22339-1-git-send-email-ciaranmccormick@gmail.com> (raw)

---
 drivers/staging/bcm/led_control.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/bcm/led_control.c b/drivers/staging/bcm/led_control.c
index 16e939f..28c3382 100644
--- a/drivers/staging/bcm/led_control.c
+++ b/drivers/staging/bcm/led_control.c
@@ -5,8 +5,8 @@
 
 static B_UINT16 CFG_CalculateChecksum(B_UINT8 *pu8Buffer, B_UINT32 u32Size)
 {
-	B_UINT16 	u16CheckSum=0;
-	while(u32Size--) {
+	B_UINT16	u16CheckSum = 0;
+	while (u32Size--) {
 		u16CheckSum += (B_UINT8)~(*pu8Buffer);
 	    pu8Buffer++;
 	}
@@ -16,7 +16,7 @@ BOOLEAN IsReqGpioIsLedInNVM(PMINI_ADAPTER Adapter, UINT gpios)
 {
 	INT Status ;
 	Status = (Adapter->gpioBitMap & gpios) ^ gpios ;
-	if(Status)
+	if (Status)
 		return FALSE;
 	else
 		return TRUE;
-- 
1.7.5.4


             reply	other threads:[~2011-11-01 10:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-01 10:44 Ciaran McCormick [this message]
2011-11-01 11:07 ` [PATCH] Stageing: bcm: fixed spacing coding style in led_control.c Paul Bolle
2011-11-01 20:22   ` Dan Carpenter
2011-11-02  2:54     ` Joe Perches
2011-11-02  6:26       ` Dan Carpenter

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=1320144259-22339-1-git-send-email-ciaranmccormick@gmail.com \
    --to=ciaranmccormick@gmail.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=shemminger@vyatta.com \
    /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