staging: brcm80211: fix various checkpatch spacing errors.
authorJason Cooper <jason@lakedaemon.net>
Wed, 6 Oct 2010 14:08:02 +0000 (10:08 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 6 Oct 2010 15:20:42 +0000 (08:20 -0700)
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c
drivers/staging/brcm80211/brcmfmac/dhd_custom_gpio.c
drivers/staging/brcm80211/brcmfmac/dhd_sdio.c
drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c

index 9caf785..b013a65 100644 (file)
@@ -985,7 +985,8 @@ sdioh_request_packet(sdioh_info_t *sd, uint fix_inc, uint write, uint func,
 
                if (err_ret) {
                        sd_err(("%s: %s FAILED %p[%d], addr=0x%05x, pkt_len=%d,"
-                                "ERR=0x%08x\n", __func__, (write) ? "TX":"RX",
+                                "ERR=0x%08x\n", __func__,
+                                (write) ? "TX" : "RX",
                                 pnext, SGCount, addr, pkt_len, err_ret));
                } else {
                        sd_trace(("%s: %s xfr'd %p[%d], addr=0x%05x, len=%d\n",
index bd044c1..5a86f92 100644 (file)
@@ -151,7 +151,7 @@ int dhd_custom_get_mac_address(unsigned char *buf)
        /* EXAMPLE code */
        {
                struct ether_addr ea_example = {
-                       {0x00, 0x11, 0x22, 0x33, 0x44, 0xFF}};
+                       {0x00, 0x11, 0x22, 0x33, 0x44, 0xFF} };
                bcopy((char *)&ea_example, buf, sizeof(struct ether_addr));
        }
 #endif                         /* EXAMPLE_GET_MAC */
index 87204b7..60b499a 100644 (file)
@@ -1421,7 +1421,7 @@ int dhd_bus_rxctl(struct dhd_bus *bus, unsigned char *msg, uint msglen)
        else
                bus->dhd->rx_ctlerrs++;
 
-       return rxlen ? (int)rxlen:-ETIMEDOUT;
+       return rxlen ? (int)rxlen : -ETIMEDOUT;
 }
 
 /* IOVar table */
@@ -3969,7 +3969,7 @@ static uint dhdsdio_readframes(dhd_bus_t *bus, uint maxframes, bool *finished)
                }
 
                /* Validate check bytes */
-               if ((uint16) ~ (len ^ check)) {
+               if ((uint16) ~(len ^ check)) {
                        DHD_ERROR(("%s: HW hdr err: len/check 0x%04x/0x%04x\n",
                                __func__, len, check));
                        bus->rx_badhdr++;
index 3867293..0c5d5cf 100644 (file)
@@ -2635,7 +2635,7 @@ static void wl_init_conf(struct wl_conf *conf)
        conf->rts_threshold = (uint32)-1;
        conf->retry_short = (uint32)-1;
        conf->retry_long = (uint32)-1;
-       conf->tx_power =-1;
+       conf->tx_power = -1;
 }
 
 static void wl_init_prof(struct wl_profile *prof)