]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8192e: Fix SPACING errors
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Mon, 13 Apr 2015 21:47:27 +0000 (23:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 May 2015 07:24:06 +0000 (09:24 +0200)
Fix several SPACING errors to make checkpatch happy.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c
drivers/staging/rtl8192e/rtl8192e/rtl_core.c
drivers/staging/rtl8192e/rtl8192e/rtl_core.h
drivers/staging/rtl8192e/rtllib_debug.h
drivers/staging/rtl8192e/rtllib_rx.c

index 4664a4fd1e48cd8b9cfa1c894ed481c1b8cc2612..eea2e39ff5947dd359488724974aab35ae84d401 100644 (file)
@@ -1002,7 +1002,7 @@ void rtl8192_SwChnl_WorkItem(struct net_device *dev)
        RT_TRACE(COMP_TRACE, "=====>--%s(), set chan:%d, priv:%p\n", __func__,
                 priv->chan, priv);
 
-       rtl8192_phy_FinishSwChnlNow(dev , priv->chan);
+       rtl8192_phy_FinishSwChnlNow(dev, priv->chan);
 
        RT_TRACE(COMP_TRACE, "<== SwChnlCallback819xUsbWorkItem()\n");
 }
index 352d381b7c4ae56297aaeddfccc193e224b2480b..3ce7676445de53d0b4ea2e1907a25b47d93bd822 100644 (file)
@@ -1533,7 +1533,7 @@ RESET_START:
                        SEM_UP_IEEE_WX(&ieee->wx_sem);
                } else {
                        netdev_info(dev, "ieee->state is NOT LINKED\n");
-                       rtllib_softmac_stop_protocol(priv->rtllib, 0 , true);
+                       rtllib_softmac_stop_protocol(priv->rtllib, 0, true);
                }
 
                dm_backup_dynamic_mechanism_state(dev);
@@ -2102,7 +2102,7 @@ static short rtl8192_alloc_rx_desc_ring(struct net_device *dev)
                        entry->OWN = 1;
                }
 
-               if(entry)
+               if (entry)
                        entry->EOR = 1;
        }
        return 0;
@@ -2519,7 +2519,7 @@ void rtl8192_commit(struct net_device *dev)
 
        if (priv->up == 0)
                return;
-       rtllib_softmac_stop_protocol(priv->rtllib, 0 , true);
+       rtllib_softmac_stop_protocol(priv->rtllib, 0, true);
        rtl8192_irq_disable(dev);
        priv->ops->stop_adapter(dev, true);
        _rtl8192_up(dev, false);
index d365af6ebdc7b56bb71729d4e3e332e15eb9fbca..a6279e7156d04fbed69d783f56b6b5b5f0fe326c 100644 (file)
@@ -84,7 +84,7 @@
 
 #define RTL_PCI_DEVICE(vend, dev, cfg) \
        .vendor = (vend), .device = (dev), \
-       .subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID , \
+       .subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID, \
        .driver_data = (kernel_ulong_t)&(cfg)
 
 #define RTL_MAX_SCAN_SIZE 128
@@ -303,9 +303,9 @@ enum pci_bridge_vendor {
        PCI_BRIDGE_VENDOR_INTEL = 0x0,
        PCI_BRIDGE_VENDOR_ATI,
        PCI_BRIDGE_VENDOR_AMD,
-       PCI_BRIDGE_VENDOR_SIS ,
+       PCI_BRIDGE_VENDOR_SIS,
        PCI_BRIDGE_VENDOR_UNKNOWN,
-       PCI_BRIDGE_VENDOR_MAX ,
+       PCI_BRIDGE_VENDOR_MAX,
 };
 
 struct buffer {
index 119729d31c74705c0dd5ef8de04e84bb8c016f91..6df8df134367d0f2f659f6c5639e5badc85f04a6 100644 (file)
@@ -73,8 +73,7 @@ enum RTL_DEBUG {
 #define RT_TRACE(component, x, args...)                \
 do {                   \
        if (rt_global_debug_component & component) \
-               printk(KERN_DEBUG DRV_NAME ":" x "\n" , \
-                      ##args);\
+               printk(KERN_DEBUG DRV_NAME ":" x "\n", ##args);\
 } while (0)
 
 #define assert(expr) \
index fe3e7e1273ff82f7e70a367f0b9be22a6bd45833..95cd17eda768b9b0c895681770f29571d56fb3bd 100644 (file)
@@ -469,7 +469,7 @@ static bool AddReorderEntry(struct rx_ts_record *pTS,
 void rtllib_indicate_packets(struct rtllib_device *ieee, struct rtllib_rxb **prxbIndicateArray, u8 index)
 {
        struct net_device_stats *stats = &ieee->stats;
-       u8 i = 0 , j = 0;
+       u8 i = 0, j = 0;
        u16 ethertype;
 
        for (j = 0; j < index; j++) {