]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: sm750fb: Insert spaces after commas in two files.
authorIsaac Assegai <isaac.a.travers@gmail.com>
Tue, 2 Jun 2015 10:14:28 +0000 (03:14 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Jun 2015 20:26:31 +0000 (13:26 -0700)
Insert Spaces after commas to rectify the following
checkpatch errors in ddk750_power.c and ddk750_swi2c.c:
ERROR: space required after that ','

Signed-off-by: Isaac Assegai <isaac.a.travers@gmail.com>:
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/ddk750_power.c
drivers/staging/sm750fb/ddk750_swi2c.c

index cbb97676b33c96e169e0d92a33c9f92449c7faf6..1e5f398aed1001d12fd6dc9f00cc07334429fad4 100644 (file)
@@ -7,10 +7,10 @@ void ddk750_setDPMS(DPMS_t state)
        unsigned int value;
        if(getChipType() == SM750LE){
                value = PEEK32(CRT_DISPLAY_CTRL);
-               POKE32(CRT_DISPLAY_CTRL,FIELD_VALUE(value,CRT_DISPLAY_CTRL,DPMS,state));
+               POKE32(CRT_DISPLAY_CTRL, FIELD_VALUE(value, CRT_DISPLAY_CTRL, DPMS, state));
        }else{
                value = PEEK32(SYSTEM_CTRL);
-               value= FIELD_VALUE(value,SYSTEM_CTRL,DPMS,state);
+               value= FIELD_VALUE(value, SYSTEM_CTRL, DPMS, state);
                POKE32(SYSTEM_CTRL, value);
        }
 }
index 901b3737f1edb5d4e93fd399a713884681efad1e..fc8f5a51e43c0209b210923b75d33c1970045d8a 100644 (file)
@@ -96,7 +96,7 @@ static void swI2CWait(void)
        it's more reliable than counter loop ..
        write 0x61 to 0x3ce and read from 0x3cf
        */
-       while(peekIO(0x3ce,0x61) & 0x10);
+       while(peekIO(0x3ce, 0x61) & 0x10);
 #else
     int i, Temp;