public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Stageing: bcm: fixed spacing coding style in led_control.c
@ 2011-11-01 10:44 Ciaran McCormick
  2011-11-01 11:07 ` Paul Bolle
  0 siblings, 1 reply; 5+ messages in thread
From: Ciaran McCormick @ 2011-11-01 10:44 UTC (permalink / raw)
  To: gregkh, shemminger; +Cc: devel, linux-kernel, Ciaran McCormick

---
 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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-11-02  6:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-01 10:44 [PATCH] Stageing: bcm: fixed spacing coding style in led_control.c Ciaran McCormick
2011-11-01 11:07 ` Paul Bolle
2011-11-01 20:22   ` Dan Carpenter
2011-11-02  2:54     ` Joe Perches
2011-11-02  6:26       ` Dan Carpenter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox