rtl8192u: fix whitespace around if statements in r8180_93cx6.c
authorXenia Ragiadakou <burzalodowa@gmail.com>
Mon, 13 May 2013 17:15:49 +0000 (20:15 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2013 23:43:10 +0000 (16:43 -0700)
This patch fixes a part of the following checkpatch error:
ERROR: space required before the open parenthesis '('
by adding space after if

Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r8180_93cx6.c

index 7e49ad8..ff68fb1 100644 (file)
@@ -22,7 +22,7 @@
 
 void eprom_cs(struct net_device *dev, short bit)
 {
-       if(bit)
+       if (bit)
                write_nic_byte_E(dev, EPROM_CMD,
                               (1<<EPROM_CS_SHIFT) | \
                               read_nic_byte_E(dev, EPROM_CMD)); //enable EPROM
@@ -50,7 +50,7 @@ void eprom_ck_cycle(struct net_device *dev)
 
 void eprom_w(struct net_device *dev,short bit)
 {
-       if(bit)
+       if (bit)
                write_nic_byte_E(dev, EPROM_CMD, (1<<EPROM_W_SHIFT) | \
                               read_nic_byte_E(dev,EPROM_CMD));
        else
@@ -69,7 +69,7 @@ short eprom_r(struct net_device *dev)
        bit=(read_nic_byte_E(dev, EPROM_CMD) & (1<<EPROM_R_SHIFT) );
        udelay(EPROM_DELAY);
 
-       if(bit) return 1;
+       if (bit) return 1;
        return 0;
 }