]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: sm750fb: Add space around '&'
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Fri, 9 Oct 2015 20:51:30 +0000 (02:21 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 03:33:51 +0000 (20:33 -0700)
Add space around operator '&'. Problem found using
checkpatch.pl
CHECK: spaces preferred around that '&' (ctx:VxV)

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

index f8005c2f3be9434ba01560706a6443db6395ebf4..84f6e8b8c0e251542cfdd63b8b34a26aa50b6797 100644 (file)
@@ -228,17 +228,17 @@ void ddk750_setLogicalDispOut(disp_output_t output)
 
        if (output & PRI_TP_USAGE) {
                /* set primary timing and plane en_bit */
-               setDisplayControl(0, (output&PRI_TP_MASK) >> PRI_TP_OFFSET);
+               setDisplayControl(0, (output & PRI_TP_MASK) >> PRI_TP_OFFSET);
        }
 
        if (output & SEC_TP_USAGE) {
                /* set secondary timing and plane en_bit*/
-               setDisplayControl(1, (output&SEC_TP_MASK) >> SEC_TP_OFFSET);
+               setDisplayControl(1, (output & SEC_TP_MASK) >> SEC_TP_OFFSET);
        }
 
        if (output & PNL_SEQ_USAGE) {
                /* set  panel sequence */
-               swPanelPowerSequence((output&PNL_SEQ_MASK) >> PNL_SEQ_OFFSET, 4);
+               swPanelPowerSequence((output & PNL_SEQ_MASK) >> PNL_SEQ_OFFSET, 4);
        }
 
        if (output & DAC_USAGE)