diff options
author | Tree Davies <tdavies@darkphysics.net> | 2024-09-08 21:26:24 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-09-11 15:54:42 +0200 |
commit | 86ad674dfaeb27314030114eebda6709f64de2a3 (patch) | |
tree | 080cec7b7af7adf34ce315dabeaea7e9dee872bd /drivers/staging | |
parent | Staging: rtl8192e: Rename variable Para1 (diff) | |
download | linux-86ad674dfaeb27314030114eebda6709f64de2a3.tar.xz linux-86ad674dfaeb27314030114eebda6709f64de2a3.zip |
Staging: rtl8192e: Rename variable Para2
Rename variable Para2 to para2
to fix checkpatch warning Avoid CamelCase.
Signed-off-by: Tree Davies <tdavies@darkphysics.net>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/20240908192633.94144-8-tdavies@darkphysics.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c | 12 | ||||
-rw-r--r-- | drivers/staging/rtl8192e/rtllib.h | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c index 797ae6896d62..fbe624e235df 100644 --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c +++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c @@ -510,7 +510,7 @@ static u8 _rtl92e_phy_set_sw_chnl_cmd_array(struct net_device *dev, struct sw_chnl_cmd *CmdTable, u32 CmdTableIdx, u32 CmdTableSz, enum sw_chnl_cmd_id cmd_id, - u32 para1, u32 Para2, u32 ms_delay) + u32 para1, u32 para2, u32 ms_delay) { struct sw_chnl_cmd *pCmd; @@ -526,7 +526,7 @@ static u8 _rtl92e_phy_set_sw_chnl_cmd_array(struct net_device *dev, pCmd = CmdTable + CmdTableIdx; pCmd->cmd_id = cmd_id; pCmd->para1 = para1; - pCmd->Para2 = Para2; + pCmd->para2 = para2; pCmd->ms_delay = ms_delay; return true; @@ -619,15 +619,15 @@ static u8 _rtl92e_phy_switch_channel_step(struct net_device *dev, u8 channel, break; case cmd_id_write_port_ulong: rtl92e_writel(dev, CurrentCmd->para1, - CurrentCmd->Para2); + CurrentCmd->para2); break; case cmd_id_write_port_ushort: rtl92e_writew(dev, CurrentCmd->para1, - CurrentCmd->Para2); + CurrentCmd->para2); break; case cmd_id_write_port_uchar: rtl92e_writeb(dev, CurrentCmd->para1, - CurrentCmd->Para2); + CurrentCmd->para2); break; case cmd_id_rf_write_reg: for (eRFPath = 0; eRFPath < @@ -635,7 +635,7 @@ static u8 _rtl92e_phy_switch_channel_step(struct net_device *dev, u8 channel, rtl92e_set_rf_reg(dev, (enum rf90_radio_path)eRFPath, CurrentCmd->para1, bMask12Bits, - CurrentCmd->Para2 << 7); + CurrentCmd->para2 << 7); break; default: break; diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index 1e119192ad38..d63044607fb5 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -165,7 +165,7 @@ enum sw_chnl_cmd_id { struct sw_chnl_cmd { enum sw_chnl_cmd_id cmd_id; u32 para1; - u32 Para2; + u32 para2; u32 ms_delay; }; |