[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1320144259-22339-1-git-send-email-ciaranmccormick@gmail.com>
Date: Tue, 1 Nov 2011 10:44:19 +0000
From: Ciaran McCormick <ciaranmccormick@...il.com>
To: gregkh@...e.de, shemminger@...tta.com
Cc: devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
Ciaran McCormick <ciaranmccormick@...il.com>
Subject: [PATCH] Stageing: bcm: fixed spacing coding style in led_control.c
---
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists