staging:rtl8192u: Rename msDelay to ms_delay - Style
authorJohn Whitmore <johnfwhitmore@gmail.com>
Thu, 26 Jul 2018 19:24:15 +0000 (20:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 29 Jul 2018 08:13:26 +0000 (10:13 +0200)
Rename the member variable msDelay to ms_delay. This change clears the
checkpatch issue with CamelCase naming. The change is purely a coding
style change which should not impact runtime code execution.

Signed-off-by: John Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r819xU_phy.c
drivers/staging/rtl8192u/r819xU_phy.h

index 904cc8c..496f42b 100644 (file)
@@ -1247,7 +1247,7 @@ static u8 rtl8192_phy_SetSwChnlCmdArray(struct sw_chnl_cmd *CmdTable, u32 CmdTab
        pCmd->cmd_id = CmdID;
        pCmd->para_1 = Para1;
        pCmd->para_2 = Para2;
-       pCmd->msDelay = msDelay;
+       pCmd->ms_delay = msDelay;
 
        return true;
 }
@@ -1365,7 +1365,7 @@ static u8 rtl8192_phy_SwChnlStepByStep(struct net_device *dev, u8 channel,
 
                if (CurrentCmd->cmd_id == CMD_ID_END) {
                        if ((*stage) == 2) {
-                               (*delay) = CurrentCmd->msDelay;
+                               (*delay) = CurrentCmd->ms_delay;
                                return true;
                        }
                        (*stage)++;
@@ -1407,7 +1407,7 @@ static u8 rtl8192_phy_SwChnlStepByStep(struct net_device *dev, u8 channel,
                break;
        } while (true);
 
-       (*delay) = CurrentCmd->msDelay;
+       (*delay) = CurrentCmd->ms_delay;
        (*step)++;
        return false;
 }
index 0d4c083..d783e9c 100644 (file)
@@ -22,7 +22,7 @@ struct sw_chnl_cmd {
        enum switch_chan_cmd_id cmd_id;
        u32                     para_1;
        u32                     para_2;
-       u32                     msDelay;
+       u32                     ms_delay;
 } __packed;
 
 extern u32 rtl819XMACPHY_Array_PG[];