]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
staging: brcm80211: cleanup whitespace errors
authorHenry Ptasinski <henryp@broadcom.com>
Wed, 29 Jun 2011 23:46:52 +0000 (16:46 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 5 Jul 2011 16:57:13 +0000 (09:57 -0700)
Cleanup remaining whitespace errors:
- space before tabs
- spaces at the start of a line
- space between function name and open parenthesis '('
- unnecessary whitespace before a quoted newline

Signed-off-by: Henry Ptasinski <henryp@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmfmac/dhd_linux.c
drivers/staging/brcm80211/brcmfmac/sbsdio.h
drivers/staging/brcm80211/brcmsmac/dma.c
drivers/staging/brcm80211/brcmsmac/phy/phy_int.h
drivers/staging/brcm80211/brcmsmac/phy/phy_lcn.c
drivers/staging/brcm80211/brcmsmac/phy/phytbl_lcn.c
drivers/staging/brcm80211/brcmsmac/phy/phytbl_n.c
drivers/staging/brcm80211/brcmsmac/phy/phytbl_n.h
drivers/staging/brcm80211/brcmsmac/phy_shim.h
drivers/staging/brcm80211/brcmutil/utils.c
drivers/staging/brcm80211/include/brcmu_utils.h

index e0cd8e14ec7abb249ea32b91130882afeb737158..c556191fb189c986ac7501eae268b8d6e3ed3780 100644 (file)
@@ -916,14 +916,14 @@ static int _dhd_sysioc_thread(void *data)
 
                                if (in_ap && dhd->set_macaddress) {
                                        DHD_TRACE(("attempt to set MAC for %s "
-                                               "in AP Mode," "blocked. \n",
+                                               "in AP Mode," "blocked.\n",
                                                dhd->iflist[i]->net->name));
                                        dhd->set_macaddress = false;
                                        continue;
                                }
 
                                if (in_ap && dhd->set_multicast) {
-                                       DHD_TRACE(("attempt to set MULTICAST list for %s" "in AP Mode, blocked. \n",
+                                       DHD_TRACE(("attempt to set MULTICAST list for %s" "in AP Mode, blocked.\n",
                                                dhd->iflist[i]->net->name));
                                        dhd->set_multicast = false;
                                        continue;
@@ -2157,7 +2157,7 @@ int dhd_net_attach(dhd_pub_t *dhdp, int ifidx)
        }
 
        if (ifidx == 1) {
-               DHD_TRACE(("%s ACCESS POINT MAC: \n", __func__));
+               DHD_TRACE(("%s ACCESS POINT MAC:\n", __func__));
                /*  ACCESSPOINT INTERFACE CASE */
                temp_addr[0] |= 0X02;   /* set bit 2 ,
                         - Locally Administered address  */
index 86b62b81ccaac236e97ad33e3a86fd98783a8b80..614a25f71e765c1d0cde75405e19442ae5f36305 100644 (file)
@@ -37,7 +37,7 @@
 #define SBSDIO_FUNC1_SBADDRHIGH                0x1000C /* SB Address Window High (b31:b24)    */
 #define SBSDIO_FUNC1_FRAMECTRL         0x1000D /* Frame Control (frame term/abort) */
 #define SBSDIO_FUNC1_CHIPCLKCSR                0x1000E /* ChipClockCSR (ALP/HT ctl/status) */
-#define SBSDIO_FUNC1_SDIOPULLUP        0x1000F /* SdioPullUp (on cmd, d0-d2) */
+#define SBSDIO_FUNC1_SDIOPULLUP                0x1000F /* SdioPullUp (on cmd, d0-d2) */
 #define SBSDIO_FUNC1_WFRAMEBCLO                0x10019 /* Write Frame Byte Count Low */
 #define SBSDIO_FUNC1_WFRAMEBCHI                0x1001A /* Write Frame Byte Count High */
 #define SBSDIO_FUNC1_RFRAMEBCLO                0x1001B /* Read Frame Byte Count Low */
index adf364ca5daa5a6c41dae2b7b6ac862c42f777eb..5cdbfe982976c6ad6be0774444bf2a1b1ddab076 100644 (file)
@@ -34,7 +34,7 @@
 #define        D64MAXRINGSZ            (1 << D64RINGALIGN_BITS)
 #define        D64RINGALIGN            (1 << D64RINGALIGN_BITS)
 
-#define        D64MAXDD        (D64MAXRINGSZ / sizeof (dma64dd_t))
+#define        D64MAXDD        (D64MAXRINGSZ / sizeof(dma64dd_t))
 
 /* transmit channel control */
 #define        D64_XC_XE               0x00000001      /* transmit enable */
index 68938feb6cc7cee890af04193b063807637de5b6..0019c044148d7a008445f8d247fe305724eb7fb5 100644 (file)
@@ -966,16 +966,16 @@ struct lcnphy_radio_regs {
 extern lcnphy_radio_regs_t lcnphy_radio_regs_2064[];
 extern lcnphy_radio_regs_t lcnphy_radio_regs_2066[];
 extern radio_regs_t regs_2055[], regs_SYN_2056[], regs_TX_2056[],
-    regs_RX_2056[];
+       regs_RX_2056[];
 extern radio_regs_t regs_SYN_2056_A1[], regs_TX_2056_A1[], regs_RX_2056_A1[];
 extern radio_regs_t regs_SYN_2056_rev5[], regs_TX_2056_rev5[],
-    regs_RX_2056_rev5[];
+       regs_RX_2056_rev5[];
 extern radio_regs_t regs_SYN_2056_rev6[], regs_TX_2056_rev6[],
-    regs_RX_2056_rev6[];
+       regs_RX_2056_rev6[];
 extern radio_regs_t regs_SYN_2056_rev7[], regs_TX_2056_rev7[],
-    regs_RX_2056_rev7[];
+       regs_RX_2056_rev7[];
 extern radio_regs_t regs_SYN_2056_rev8[], regs_TX_2056_rev8[],
-    regs_RX_2056_rev8[];
+       regs_RX_2056_rev8[];
 extern radio_20xx_regs_t regs_2057_rev4[], regs_2057_rev5[], regs_2057_rev5v1[];
 extern radio_20xx_regs_t regs_2057_rev7[], regs_2057_rev8[];
 
index 4d35e5de543c8740db08953c765ee305f8ad491e..3b61bebbe2b6b1b4fef2752eb236c7cfb49e889f 100644 (file)
@@ -888,9 +888,8 @@ lcnphy_radio_regs_t lcnphy_radio_regs_2064[] = {
 #define LCNPHY_NUM_DIG_FILT_COEFFS 16
 #define LCNPHY_NUM_TX_DIG_FILTERS_CCK 13
 
-u16
-    LCNPHY_txdigfiltcoeffs_cck[LCNPHY_NUM_TX_DIG_FILTERS_CCK]
-    [LCNPHY_NUM_DIG_FILT_COEFFS + 1] = {
+u16 LCNPHY_txdigfiltcoeffs_cck[LCNPHY_NUM_TX_DIG_FILTERS_CCK]
+       [LCNPHY_NUM_DIG_FILT_COEFFS + 1] = {
        {0, 1, 415, 1874, 64, 128, 64, 792, 1656, 64, 128, 64, 778, 1582, 64,
         128, 64,},
        {1, 1, 402, 1847, 259, 59, 259, 671, 1794, 68, 54, 68, 608, 1863, 93,
@@ -920,9 +919,8 @@ u16
 };
 
 #define LCNPHY_NUM_TX_DIG_FILTERS_OFDM 3
-u16
-    LCNPHY_txdigfiltcoeffs_ofdm[LCNPHY_NUM_TX_DIG_FILTERS_OFDM]
-    [LCNPHY_NUM_DIG_FILT_COEFFS + 1] = {
+u16 LCNPHY_txdigfiltcoeffs_ofdm[LCNPHY_NUM_TX_DIG_FILTERS_OFDM]
+       [LCNPHY_NUM_DIG_FILT_COEFFS + 1] = {
        {0, 0, 0xa2, 0x0, 0x100, 0x100, 0x0, 0x0, 0x0, 0x100, 0x0, 0x0,
         0x278, 0xfea0, 0x80, 0x100, 0x80,},
        {1, 0, 374, 0xFF79, 16, 32, 16, 799, 0xFE74, 50, 32, 50,
index 6439d81f7ff11b45788adf9c89a7ff0d691d2892..5b6538f20410085719ea2cb7fe787fa2d7f9d43c 100644 (file)
@@ -1608,20 +1608,20 @@ const dot11lcnphytbl_info_t dot11lcnphytbl_rx_gain_info_extlna_5G_rev2[] = {
 };
 
 const u32 dot11lcnphytbl_rx_gain_info_sz_rev0 =
-    sizeof(dot11lcnphytbl_rx_gain_info_rev0) /
-    sizeof(dot11lcnphytbl_rx_gain_info_rev0[0]);
+       sizeof(dot11lcnphytbl_rx_gain_info_rev0) /
+       sizeof(dot11lcnphytbl_rx_gain_info_rev0[0]);
 
 const u32 dot11lcnphytbl_rx_gain_info_sz_rev1 =
-    sizeof(dot11lcnphytbl_rx_gain_info_rev1) /
-    sizeof(dot11lcnphytbl_rx_gain_info_rev1[0]);
+       sizeof(dot11lcnphytbl_rx_gain_info_rev1) /
+       sizeof(dot11lcnphytbl_rx_gain_info_rev1[0]);
 
 const u32 dot11lcnphytbl_rx_gain_info_2G_rev2_sz =
-    sizeof(dot11lcnphytbl_rx_gain_info_2G_rev2) /
-    sizeof(dot11lcnphytbl_rx_gain_info_2G_rev2[0]);
+       sizeof(dot11lcnphytbl_rx_gain_info_2G_rev2) /
+       sizeof(dot11lcnphytbl_rx_gain_info_2G_rev2[0]);
 
 const u32 dot11lcnphytbl_rx_gain_info_5G_rev2_sz =
-    sizeof(dot11lcnphytbl_rx_gain_info_5G_rev2) /
-    sizeof(dot11lcnphytbl_rx_gain_info_5G_rev2[0]);
+       sizeof(dot11lcnphytbl_rx_gain_info_5G_rev2) /
+       sizeof(dot11lcnphytbl_rx_gain_info_5G_rev2[0]);
 
 const u16 dot11lcn_min_sig_sq_tbl_rev0[] = {
        0x014d,
@@ -2857,7 +2857,7 @@ const dot11lcnphytbl_info_t dot11lcn_sw_ctrl_tbl_info_4313_bt_epa_p250 = {
 };
 
 const u32 dot11lcnphytbl_info_sz_rev0 =
-    sizeof(dot11lcnphytbl_info_rev0) / sizeof(dot11lcnphytbl_info_rev0[0]);
+       sizeof(dot11lcnphytbl_info_rev0) / sizeof(dot11lcnphytbl_info_rev0[0]);
 
 const lcnphy_tx_gain_tbl_entry dot11lcnphy_2GHz_extPA_gaintable_rev0[128] = {
        {3, 0, 31, 0, 72,}
index 84b4f691be924add7aa8b503566851a94e0c7c1e..88353678548a33787fe1b3ead9adadf114786a00 100644 (file)
@@ -4535,10 +4535,10 @@ const mimophytbl_info_t mimophytbl_info_rev0[] = {
 };
 
 const u32 mimophytbl_info_sz_rev0 =
-    sizeof(mimophytbl_info_rev0) / sizeof(mimophytbl_info_rev0[0]);
+       sizeof(mimophytbl_info_rev0) / sizeof(mimophytbl_info_rev0[0]);
 const u32 mimophytbl_info_sz_rev0_volatile =
-    sizeof(mimophytbl_info_rev0_volatile) /
-    sizeof(mimophytbl_info_rev0_volatile[0]);
+       sizeof(mimophytbl_info_rev0_volatile) /
+       sizeof(mimophytbl_info_rev0_volatile[0]);
 
 const u16 ant_swctrl_tbl_rev3[] = {
        0x0082,
@@ -9475,19 +9475,19 @@ const mimophytbl_info_t mimophytbl_info_rev3[] = {
 };
 
 const u32 mimophytbl_info_sz_rev3 =
-    sizeof(mimophytbl_info_rev3) / sizeof(mimophytbl_info_rev3[0]);
+       sizeof(mimophytbl_info_rev3) / sizeof(mimophytbl_info_rev3[0]);
 const u32 mimophytbl_info_sz_rev3_volatile =
-    sizeof(mimophytbl_info_rev3_volatile) /
-    sizeof(mimophytbl_info_rev3_volatile[0]);
+       sizeof(mimophytbl_info_rev3_volatile) /
+       sizeof(mimophytbl_info_rev3_volatile[0]);
 const u32 mimophytbl_info_sz_rev3_volatile1 =
-    sizeof(mimophytbl_info_rev3_volatile1) /
-    sizeof(mimophytbl_info_rev3_volatile1[0]);
+       sizeof(mimophytbl_info_rev3_volatile1) /
+       sizeof(mimophytbl_info_rev3_volatile1[0]);
 const u32 mimophytbl_info_sz_rev3_volatile2 =
-    sizeof(mimophytbl_info_rev3_volatile2) /
-    sizeof(mimophytbl_info_rev3_volatile2[0]);
+       sizeof(mimophytbl_info_rev3_volatile2) /
+       sizeof(mimophytbl_info_rev3_volatile2[0]);
 const u32 mimophytbl_info_sz_rev3_volatile3 =
-    sizeof(mimophytbl_info_rev3_volatile3) /
-    sizeof(mimophytbl_info_rev3_volatile3[0]);
+       sizeof(mimophytbl_info_rev3_volatile3) /
+       sizeof(mimophytbl_info_rev3_volatile3[0]);
 
 const u32 tmap_tbl_rev7[] = {
        0x8a88aa80,
@@ -10579,7 +10579,7 @@ const mimophytbl_info_t mimophytbl_info_rev7[] = {
 };
 
 const u32 mimophytbl_info_sz_rev7 =
-    sizeof(mimophytbl_info_rev7) / sizeof(mimophytbl_info_rev7[0]);
+       sizeof(mimophytbl_info_rev7) / sizeof(mimophytbl_info_rev7[0]);
 
 const mimophytbl_info_t mimophytbl_info_rev16[] = {
        {&noise_var_tbl_rev7,
@@ -10626,4 +10626,4 @@ const mimophytbl_info_t mimophytbl_info_rev16[] = {
 };
 
 const u32 mimophytbl_info_sz_rev16 =
-    sizeof(mimophytbl_info_rev16) / sizeof(mimophytbl_info_rev16[0]);
+       sizeof(mimophytbl_info_rev16) / sizeof(mimophytbl_info_rev16[0]);
index a02b73c003e16fda1a8af165d8a5a03428cf8cbb..4b2a04dc6042080a0ed508dc5c97d44f34b6cb2e 100644 (file)
 #include "phy_int.h"
 
 extern const mimophytbl_info_t mimophytbl_info_rev0[],
-    mimophytbl_info_rev0_volatile[];
+       mimophytbl_info_rev0_volatile[];
 extern const u32 mimophytbl_info_sz_rev0, mimophytbl_info_sz_rev0_volatile;
 
 extern const mimophytbl_info_t mimophytbl_info_rev3[],
-    mimophytbl_info_rev3_volatile[], mimophytbl_info_rev3_volatile1[],
-    mimophytbl_info_rev3_volatile2[], mimophytbl_info_rev3_volatile3[];
+       mimophytbl_info_rev3_volatile[], mimophytbl_info_rev3_volatile1[],
+       mimophytbl_info_rev3_volatile2[], mimophytbl_info_rev3_volatile3[];
 extern const u32 mimophytbl_info_sz_rev3, mimophytbl_info_sz_rev3_volatile,
-    mimophytbl_info_sz_rev3_volatile1, mimophytbl_info_sz_rev3_volatile2,
-    mimophytbl_info_sz_rev3_volatile3;
+       mimophytbl_info_sz_rev3_volatile1, mimophytbl_info_sz_rev3_volatile2,
+       mimophytbl_info_sz_rev3_volatile3;
 
 extern const u32 noise_var_tbl_rev3[];
 
index 413d5dbba0d9852d7d53c6ac8abe3a3e3b37ca48..61b372065c480b59b1b6eea282eda085e82876f1 100644 (file)
@@ -31,8 +31,8 @@
 #define RADAR_TYPE_ITU_K       5       /* ITU K Radar type */
 #define RADAR_TYPE_UNCLASSIFIED        6       /* Unclassified Radar type  */
 #define RADAR_TYPE_BIN5                7       /* long pulse radar type */
-#define RADAR_TYPE_STG2        8       /* staggered-2 radar */
-#define RADAR_TYPE_STG3        9       /* staggered-3 radar */
+#define RADAR_TYPE_STG2                8       /* staggered-2 radar */
+#define RADAR_TYPE_STG3                9       /* staggered-3 radar */
 #define RADAR_TYPE_FRA         10      /* French radar */
 
 /* French radar pulse widths */
index e221a3b6309c26a742c35e6657c04816e6bca36d..37b6b7797793a0d0c3965b0fc0244b2247adea38 100644 (file)
@@ -510,7 +510,7 @@ static const u8 crc8_table[256] = {
 u8 brcmu_crc8(u8 *pdata,       /* pointer to array of data to process */
                         uint nbytes,   /* number of input data bytes to process */
                         u8 crc /* either CRC8_INIT_VALUE or previous return value */
-    ) {
+       ) {
        /* loop over the buffer data */
        while (nbytes-- > 0)
                crc = crc8_table[(crc ^ *pdata++) & 0xff];
index b0f36e3ead9e155da2d46461604b674fc5379206..d0039d768b67c67bc479c899a224e4e191bd1cc0 100644 (file)
@@ -246,9 +246,9 @@ extern int brcmu_iovar_lencheck(const struct brcmu_iovar *table, void *arg,
 
 /* modulo add/sub - assumes x, y E [0, bound - 1] */
 #define MODADD(x, y, bound) \
-    MUX((x) + (y) >= (bound), (x) + (y) - (bound), (x) + (y))
+       MUX((x) + (y) >= (bound), (x) + (y) - (bound), (x) + (y))
 #define MODSUB(x, y, bound) \
-    MUX(((int)(x)) - ((int)(y)) < 0, (x) - (y) + (bound), (x) - (y))
+       MUX(((int)(x)) - ((int)(y)) < 0, (x) - (y) + (bound), (x) - (y))
 
 /* module add/sub, bound = 2^k */
 #define MODADD_POW2(x, y, bound) (((x) + (y)) & ((bound) - 1))