]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Staging: sm750fb: Remove space after parenthesis
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Wed, 8 Apr 2015 16:55:06 +0000 (22:25 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 May 2015 07:23:59 +0000 (09:23 +0200)
Fixed error by removing space after open parenthesis '('
Problem found using checkpatch.pl
ERROR: space prohibited after that open parenthesis '('

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/ddk750_chip.c

index 7b28328c92f851ff8a3362a261c64fbfeaa36fcd..3cb860ce60cc893828340b423bfe8bb6fcf9ed03 100644 (file)
@@ -285,7 +285,7 @@ int ddk750_initHw(initchip_param_t *pInitParam)
                ulReg = FIELD_SET(ulReg, VGA_CONFIGURATION, MODE, GRAPHIC);
                POKE32(VGA_CONFIGURATION, ulReg);
        } else {
-#if defined(__i386__) || defined( __x86_64__)
+#if defined(__i386__) || defined(__x86_64__)
                /* set graphic mode via IO method */
                outb_p(0x88, 0x3d4);
                outb_p(0x06, 0x3d5);
@@ -382,7 +382,7 @@ int ddk750_initHw(initchip_param_t *pInitParam)
 
 unsigned int absDiff(unsigned int a, unsigned int b)
 {
-       if ( a > b )
+       if (a > b)
                return(a - b);
        else
                return(b - a);