staging:rtl8192u: Rename Para1 > para_1 - Style
Rename the member variable Para1 to para_1. 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>
This commit is contained in:
parent
d2a5c987e7
commit
33f28ab7a0
|
@ -1245,7 +1245,7 @@ static u8 rtl8192_phy_SetSwChnlCmdArray(struct sw_chnl_cmd *CmdTable, u32 CmdTab
|
||||||
|
|
||||||
pCmd = CmdTable + CmdTableIdx;
|
pCmd = CmdTable + CmdTableIdx;
|
||||||
pCmd->cmd_id = CmdID;
|
pCmd->cmd_id = CmdID;
|
||||||
pCmd->Para1 = Para1;
|
pCmd->para_1 = Para1;
|
||||||
pCmd->Para2 = Para2;
|
pCmd->Para2 = Para2;
|
||||||
pCmd->msDelay = msDelay;
|
pCmd->msDelay = msDelay;
|
||||||
|
|
||||||
|
@ -1380,22 +1380,22 @@ static u8 rtl8192_phy_SwChnlStepByStep(struct net_device *dev, u8 channel,
|
||||||
rtl8192_SetTxPowerLevel(dev, channel);
|
rtl8192_SetTxPowerLevel(dev, channel);
|
||||||
break;
|
break;
|
||||||
case CMD_ID_WRITE_PORT_ULONG:
|
case CMD_ID_WRITE_PORT_ULONG:
|
||||||
write_nic_dword(dev, CurrentCmd->Para1,
|
write_nic_dword(dev, CurrentCmd->para_1,
|
||||||
CurrentCmd->Para2);
|
CurrentCmd->Para2);
|
||||||
break;
|
break;
|
||||||
case CMD_ID_WRITE_PORT_USHORT:
|
case CMD_ID_WRITE_PORT_USHORT:
|
||||||
write_nic_word(dev, CurrentCmd->Para1,
|
write_nic_word(dev, CurrentCmd->para_1,
|
||||||
(u16)CurrentCmd->Para2);
|
(u16)CurrentCmd->Para2);
|
||||||
break;
|
break;
|
||||||
case CMD_ID_WRITE_PORT_UCHAR:
|
case CMD_ID_WRITE_PORT_UCHAR:
|
||||||
write_nic_byte(dev, CurrentCmd->Para1,
|
write_nic_byte(dev, CurrentCmd->para_1,
|
||||||
(u8)CurrentCmd->Para2);
|
(u8)CurrentCmd->Para2);
|
||||||
break;
|
break;
|
||||||
case CMD_ID_RF_WRITE_REG:
|
case CMD_ID_RF_WRITE_REG:
|
||||||
for (eRFPath = 0; eRFPath < RF90_PATH_MAX; eRFPath++) {
|
for (eRFPath = 0; eRFPath < RF90_PATH_MAX; eRFPath++) {
|
||||||
rtl8192_phy_SetRFReg(dev,
|
rtl8192_phy_SetRFReg(dev,
|
||||||
(enum RF90_RADIO_PATH_E)eRFPath,
|
(enum RF90_RADIO_PATH_E)eRFPath,
|
||||||
CurrentCmd->Para1,
|
CurrentCmd->para_1,
|
||||||
bZebra1_ChannelNum,
|
bZebra1_ChannelNum,
|
||||||
CurrentCmd->Para2);
|
CurrentCmd->Para2);
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ enum switch_chan_cmd_id {
|
||||||
/* 1. Switch channel related */
|
/* 1. Switch channel related */
|
||||||
struct sw_chnl_cmd {
|
struct sw_chnl_cmd {
|
||||||
enum switch_chan_cmd_id cmd_id;
|
enum switch_chan_cmd_id cmd_id;
|
||||||
u32 Para1;
|
u32 para_1;
|
||||||
u32 Para2;
|
u32 Para2;
|
||||||
u32 msDelay;
|
u32 msDelay;
|
||||||
} __packed;
|
} __packed;
|
||||||
|
|
Loading…
Reference in New Issue