Commit 50d39a0f authored by Tree Davies's avatar Tree Davies Committed by Greg Kroah-Hartman

Staging: rtl8192e: Rename variable CmdID_WritePortUlong

Rename variable CmdID_WritePortUlong to cmd_id_write_port_ulong
to fix checkpatch warning Avoid CamelCase.
Signed-off-by: default avatarTree Davies <tdavies@darkphysics.net>
Link: https://lore.kernel.org/r/20240821030856.57423-5-tdavies@darkphysics.netSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0f1368b5
...@@ -616,7 +616,7 @@ static u8 _rtl92e_phy_switch_channel_step(struct net_device *dev, u8 channel, ...@@ -616,7 +616,7 @@ static u8 _rtl92e_phy_switch_channel_step(struct net_device *dev, u8 channel,
_rtl92e_set_tx_power_level(dev, _rtl92e_set_tx_power_level(dev,
channel); channel);
break; break;
case CmdID_WritePortUlong: case cmd_id_write_port_ulong:
rtl92e_writel(dev, CurrentCmd->Para1, rtl92e_writel(dev, CurrentCmd->Para1,
CurrentCmd->Para2); CurrentCmd->Para2);
break; break;
......
...@@ -156,7 +156,7 @@ enum sw_chnl_cmd_id { ...@@ -156,7 +156,7 @@ enum sw_chnl_cmd_id {
cmd_id_end, cmd_id_end,
cmd_id_set_tx_power_level, cmd_id_set_tx_power_level,
cmd_id_bbreg_write10, cmd_id_bbreg_write10,
CmdID_WritePortUlong, cmd_id_write_port_ulong,
CmdID_WritePortUshort, CmdID_WritePortUshort,
CmdID_WritePortUchar, CmdID_WritePortUchar,
CmdID_RF_WriteReg, CmdID_RF_WriteReg,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment