Second of the patches that fixes the lines over 80 characters in reg.c

Signed-off-by: Iker Pedrosa <ikerpedro...@gmail.com>
---
 drivers/staging/winbond/reg.c | 30 ++++++++++++++++++++----------
 1 file changed, 20 insertions(+), 10 deletions(-)

diff --git a/drivers/staging/winbond/reg.c b/drivers/staging/winbond/reg.c
index 429c28e..a65e8ce 100644
--- a/drivers/staging/winbond/reg.c
+++ b/drivers/staging/winbond/reg.c
@@ -964,42 +964,48 @@ void RFSynthesizer_initial(struct hw_data *pHwData)
                number = ARRAY_SIZE(max2825_rf_data);
                for (i = 0; i < number; i++) {
                        pHwData->phy_para[i] = max2825_rf_data[i]; /* Backup Rf 
parameter */
-                       pltmp[i] = (1 << 31) | (0 << 30) | (18 << 24) | 
BitReverse(max2825_rf_data[i], 18);
+                       pltmp[i] = (1 << 31) | (0 << 30) | (18 << 24)
+                                          | BitReverse(max2825_rf_data[i], 18);
                }
                break;
        case RF_MAXIM_2827:
                number = ARRAY_SIZE(max2827_rf_data);
                for (i = 0; i < number; i++) {
                        pHwData->phy_para[i] = max2827_rf_data[i];
-                       pltmp[i] = (1 << 31) | (0 << 30) | (18 << 24) | 
BitReverse(max2827_rf_data[i], 18);
+                       pltmp[i] = (1 << 31) | (0 << 30) | (18 << 24)
+                                          | BitReverse(max2827_rf_data[i], 18);
                }
                break;
        case RF_MAXIM_2828:
                number = ARRAY_SIZE(max2828_rf_data);
                for (i = 0; i < number; i++) {
                        pHwData->phy_para[i] = max2828_rf_data[i];
-                       pltmp[i] = (1 << 31) | (0 << 30) | (18 << 24) | 
BitReverse(max2828_rf_data[i], 18);
+                       pltmp[i] = (1 << 31) | (0 << 30) | (18 << 24)
+                                          | BitReverse(max2828_rf_data[i], 18);
                }
                break;
        case RF_MAXIM_2829:
                number = ARRAY_SIZE(max2829_rf_data);
                for (i = 0; i < number; i++) {
                        pHwData->phy_para[i] = max2829_rf_data[i];
-                       pltmp[i] = (1 << 31) | (0 << 30) | (18 << 24) | 
BitReverse(max2829_rf_data[i], 18);
+                       pltmp[i] = (1 << 31) | (0 << 30) | (18 << 24)
+                                          | BitReverse(max2829_rf_data[i], 18);
                }
                break;
        case RF_AIROHA_2230:
                number = ARRAY_SIZE(al2230_rf_data);
                for (i = 0; i < number; i++) {
                        pHwData->phy_para[i] = al2230_rf_data[i];
-                       pltmp[i] = (1 << 31) | (0 << 30) | (20 << 24) | 
BitReverse(al2230_rf_data[i], 20);
+                       pltmp[i] = (1 << 31) | (0 << 30) | (20 << 24)
+                                          | BitReverse(al2230_rf_data[i], 20);
                }
                break;
        case RF_AIROHA_2230S:
                number = ARRAY_SIZE(al2230s_rf_data);
                for (i = 0; i < number; i++) {
                        pHwData->phy_para[i] = al2230s_rf_data[i];
-                       pltmp[i] = (1 << 31) | (0 << 30) | (20 << 24) | 
BitReverse(al2230s_rf_data[i], 20);
+                       pltmp[i] = (1 << 31) | (0 << 30) | (20 << 24)
+                                          | BitReverse(al2230s_rf_data[i], 20);
                }
                break;
        case RF_AIROHA_7230:
@@ -1020,7 +1026,8 @@ void RFSynthesizer_initial(struct hw_data *pHwData)
                        }
 
                        pHwData->phy_para[i] = ltmp;
-                       pltmp[i] = (1 << 31) | (0 << 30) | (24 << 24) | 
BitReverse(ltmp, 24);
+                       pltmp[i] = (1 << 31) | (0 << 30) | (24 << 24)
+                                          | BitReverse(ltmp, 24);
                }
                break;
        }
@@ -1047,10 +1054,12 @@ void RFSynthesizer_initial(struct hw_data *pHwData)
 
        switch (pHwData->phy_type) {
        case RF_AIROHA_2230:
-               ltmp = (1 << 31) | (0 << 30) | (20 << 24) | BitReverse((0x07 << 
20) | 0xE168E, 20);
+               ltmp = (1 << 31) | (0 << 30) | (20 << 24)
+                              | BitReverse((0x07 << 20) | 0xE168E, 20);
                Wb35Reg_WriteSync(pHwData, 0x0864, ltmp);
                usleep(10000);
-               ltmp = (1 << 31) | (0 << 30) | (20 << 24) | 
BitReverse(al2230_rf_data[7], 20);
+               ltmp = (1 << 31) | (0 << 30) | (20 << 24)
+                              | BitReverse(al2230_rf_data[7], 20);
                Wb35Reg_WriteSync(pHwData, 0x0864, ltmp);
                usleep(10000);
        case RF_AIROHA_2230S:
@@ -1064,7 +1073,8 @@ void RFSynthesizer_initial(struct hw_data *pHwData)
                /* ========================================================= */
 
                /* The follow code doesn't use the burst-write mode */
-               ltmp = (1 << 31) | (0 << 30) | (20 << 24) | 
BitReverse((0x0F<<20) | 0xF01A0, 20);
+               ltmp = (1 << 31) | (0 << 30) | (20 << 24)
+                              | BitReverse((0x0F<<20) | 0xF01A0, 20);
                Wb35Reg_WriteSync(pHwData, 0x0864, ltmp);
 
                ltmp = pHwData->reg.BB5C & 0xfffff000;
-- 
1.8.1.2

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to