]> git.karo-electronics.de Git - linux-beck.git/commitdiff
rtl8192u: fix whitespace around ~ in r8180_93cx6.c
authorXenia Ragiadakou <burzalodowa@gmail.com>
Mon, 13 May 2013 20:36:37 +0000 (23:36 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2013 23:44:49 +0000 (16:44 -0700)
This patch fixes the whitespace around ~ and corrects the
following checkpatch error:
ERROR: space prohibited after that '~'

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

index ff68fb1147ed07984b7621a648a01a9e38be8113..77e7b7791c91b5bd9bfbe53bf4905f2e067a2ebd 100644 (file)
@@ -28,7 +28,7 @@ void eprom_cs(struct net_device *dev, short bit)
                               read_nic_byte_E(dev, EPROM_CMD)); //enable EPROM
        else
                write_nic_byte_E(dev, EPROM_CMD, read_nic_byte_E(dev, EPROM_CMD)\
-                              &~(1<<EPROM_CS_SHIFT)); //disable EPROM
+                              & ~(1<<EPROM_CS_SHIFT)); //disable EPROM
 
        force_pci_posting(dev);
        udelay(EPROM_DELAY);
@@ -42,7 +42,7 @@ void eprom_ck_cycle(struct net_device *dev)
        force_pci_posting(dev);
        udelay(EPROM_DELAY);
        write_nic_byte_E(dev, EPROM_CMD,
-                      read_nic_byte_E(dev, EPROM_CMD) &(1<<EPROM_CK_SHIFT));
+                      read_nic_byte_E(dev, EPROM_CMD) & ~(1<<EPROM_CK_SHIFT));
        force_pci_posting(dev);
        udelay(EPROM_DELAY);
 }
@@ -55,7 +55,7 @@ void eprom_w(struct net_device *dev,short bit)
                               read_nic_byte_E(dev,EPROM_CMD));
        else
                write_nic_byte_E(dev, EPROM_CMD, read_nic_byte_E(dev,EPROM_CMD)\
-                              &~(1<<EPROM_W_SHIFT));
+                              & ~(1<<EPROM_W_SHIFT));
 
        force_pci_posting(dev);
        udelay(EPROM_DELAY);