diff options
author | John Whitmore <johnfwhitmore@gmail.com> | 2018-07-26 20:24:14 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-29 10:13:26 +0200 |
commit | 21807031af7c9bd66d134787811677eb8b6ae50c (patch) | |
tree | cd713b39401a63777124491c127a7f1141654306 /drivers | |
parent | 33f28ab7a0b72c79c67b7c677fcadc5e63fa2282 (diff) | |
download | linux-21807031af7c9bd66d134787811677eb8b6ae50c.tar.bz2 |
staging:rtl8192u: Rename Para2 to para_2 - style
Rename member variable Para2 to para_2. This change clears the checkpatch
issue with CamelCase naming. The change is purely a coding style change
and should have no impact on runtime code execution.
Signed-off-by: John Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/rtl8192u/r819xU_phy.c | 10 | ||||
-rw-r--r-- | drivers/staging/rtl8192u/r819xU_phy.h | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/drivers/staging/rtl8192u/r819xU_phy.c b/drivers/staging/rtl8192u/r819xU_phy.c index c2a73ec90f70..904cc8c1a83b 100644 --- a/drivers/staging/rtl8192u/r819xU_phy.c +++ b/drivers/staging/rtl8192u/r819xU_phy.c @@ -1246,7 +1246,7 @@ static u8 rtl8192_phy_SetSwChnlCmdArray(struct sw_chnl_cmd *CmdTable, u32 CmdTab pCmd = CmdTable + CmdTableIdx; pCmd->cmd_id = CmdID; pCmd->para_1 = Para1; - pCmd->Para2 = Para2; + pCmd->para_2 = Para2; pCmd->msDelay = msDelay; return true; @@ -1381,15 +1381,15 @@ static u8 rtl8192_phy_SwChnlStepByStep(struct net_device *dev, u8 channel, break; case CMD_ID_WRITE_PORT_ULONG: write_nic_dword(dev, CurrentCmd->para_1, - CurrentCmd->Para2); + CurrentCmd->para_2); break; case CMD_ID_WRITE_PORT_USHORT: write_nic_word(dev, CurrentCmd->para_1, - (u16)CurrentCmd->Para2); + (u16)CurrentCmd->para_2); break; case CMD_ID_WRITE_PORT_UCHAR: write_nic_byte(dev, CurrentCmd->para_1, - (u8)CurrentCmd->Para2); + (u8)CurrentCmd->para_2); break; case CMD_ID_RF_WRITE_REG: for (eRFPath = 0; eRFPath < RF90_PATH_MAX; eRFPath++) { @@ -1397,7 +1397,7 @@ static u8 rtl8192_phy_SwChnlStepByStep(struct net_device *dev, u8 channel, (enum RF90_RADIO_PATH_E)eRFPath, CurrentCmd->para_1, bZebra1_ChannelNum, - CurrentCmd->Para2); + CurrentCmd->para_2); } break; default: diff --git a/drivers/staging/rtl8192u/r819xU_phy.h b/drivers/staging/rtl8192u/r819xU_phy.h index 77ae606c77ce..0d4c083ea718 100644 --- a/drivers/staging/rtl8192u/r819xU_phy.h +++ b/drivers/staging/rtl8192u/r819xU_phy.h @@ -21,7 +21,7 @@ enum switch_chan_cmd_id { struct sw_chnl_cmd { enum switch_chan_cmd_id cmd_id; u32 para_1; - u32 Para2; + u32 para_2; u32 msDelay; } __packed; |