summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTülin İzer <tulinizer@gmail.com>2013-05-15 03:41:37 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-16 15:48:55 -0700
commit3a92a697e41e62da0c6d4f292e6cc3f5c20bd4ea (patch)
tree48227b2f3374440c59f23d184d27becd0d29b0db
parent8546681507d1c93e87b78dfe11fb94a47846e46c (diff)
downloadlinux-3a92a697e41e62da0c6d4f292e6cc3f5c20bd4ea.tar.bz2
Staging: bcm: Fixed warning 'space required around '=''.
This patch fixes warning 'space required around '='' found by checkpatch in driver bcm. Signed-off-by: Tülin İzer <tulinizer@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/bcm/InterfaceIdleMode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/bcm/InterfaceIdleMode.c b/drivers/staging/bcm/InterfaceIdleMode.c
index 30571739916d..8549404a492a 100644
--- a/drivers/staging/bcm/InterfaceIdleMode.c
+++ b/drivers/staging/bcm/InterfaceIdleMode.c
@@ -155,7 +155,7 @@ static int InterfaceAbortIdlemode(struct bcm_mini_adapter *Adapter, unsigned int
unsigned long timeout = 0, itr = 0;
int lenwritten = 0;
- unsigned char aucAbortPattern[8]={0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF};
+ unsigned char aucAbortPattern[8] = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF};
struct bcm_interface_adapter *psInterfaceAdapter = Adapter->pvInterfaceAdapter;
/* Abort Bus suspend if its already suspended */
@@ -216,7 +216,7 @@ static int InterfaceAbortIdlemode(struct bcm_mini_adapter *Adapter, unsigned int
/* mdelay(25); */
- timeout= jiffies + msecs_to_jiffies(50) ;
+ timeout = jiffies + msecs_to_jiffies(50) ;
while( timeout > jiffies )
{
itr++ ;
@@ -273,7 +273,7 @@ void InterfaceHandleShutdownModeWakeup(struct bcm_mini_adapter *Adapter)
{
/* clear idlemode interrupt. */
uiRegVal = 0;
- Status =wrmalt(Adapter, DEBUG_INTERRUPT_GENERATOR_REGISTOR, &uiRegVal, sizeof(uiRegVal));
+ Status = wrmalt(Adapter, DEBUG_INTERRUPT_GENERATOR_REGISTOR, &uiRegVal, sizeof(uiRegVal));
if(Status)
{
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0,"WRM to DEBUG_INTERRUPT_GENERATOR_REGISTOR Failed with err :%d", Status);