Commit 3a92a697 authored by Tülin İzer's avatar Tülin İzer Committed by Greg Kroah-Hartman

Staging: bcm: Fixed warning 'space required around '=''.

This patch fixes warning 'space required around '='' found by
checkpatch in driver bcm.
Signed-off-by: default avatarTülin İzer <tulinizer@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 85466815
...@@ -155,7 +155,7 @@ static int InterfaceAbortIdlemode(struct bcm_mini_adapter *Adapter, unsigned int ...@@ -155,7 +155,7 @@ static int InterfaceAbortIdlemode(struct bcm_mini_adapter *Adapter, unsigned int
unsigned long timeout = 0, itr = 0; unsigned long timeout = 0, itr = 0;
int lenwritten = 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; struct bcm_interface_adapter *psInterfaceAdapter = Adapter->pvInterfaceAdapter;
/* Abort Bus suspend if its already suspended */ /* Abort Bus suspend if its already suspended */
...@@ -216,7 +216,7 @@ static int InterfaceAbortIdlemode(struct bcm_mini_adapter *Adapter, unsigned int ...@@ -216,7 +216,7 @@ static int InterfaceAbortIdlemode(struct bcm_mini_adapter *Adapter, unsigned int
/* mdelay(25); */ /* mdelay(25); */
timeout= jiffies + msecs_to_jiffies(50) ; timeout = jiffies + msecs_to_jiffies(50) ;
while( timeout > jiffies ) while( timeout > jiffies )
{ {
itr++ ; itr++ ;
...@@ -273,7 +273,7 @@ void InterfaceHandleShutdownModeWakeup(struct bcm_mini_adapter *Adapter) ...@@ -273,7 +273,7 @@ void InterfaceHandleShutdownModeWakeup(struct bcm_mini_adapter *Adapter)
{ {
/* clear idlemode interrupt. */ /* clear idlemode interrupt. */
uiRegVal = 0; uiRegVal = 0;
Status =wrmalt(Adapter, DEBUG_INTERRUPT_GENERATOR_REGISTOR, &uiRegVal, sizeof(uiRegVal)); Status = wrmalt(Adapter, DEBUG_INTERRUPT_GENERATOR_REGISTOR, &uiRegVal, sizeof(uiRegVal));
if(Status) if(Status)
{ {
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0,"WRM to DEBUG_INTERRUPT_GENERATOR_REGISTOR Failed with err :%d", Status); BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0,"WRM to DEBUG_INTERRUPT_GENERATOR_REGISTOR Failed with err :%d", Status);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment