mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 22:14:36 -04:00
Staging: rtl8192e: Rename variable CmdID_WritePortUchar
Rename variable CmdID_WritePortUchar to cmd_id_write_port_uchar to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies <tdavies@darkphysics.net> Link: https://lore.kernel.org/r/20240821030856.57423-7-tdavies@darkphysics.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
723329b206
commit
c6fd8c8726
@@ -624,7 +624,7 @@ static u8 _rtl92e_phy_switch_channel_step(struct net_device *dev, u8 channel,
|
||||
rtl92e_writew(dev, CurrentCmd->Para1,
|
||||
CurrentCmd->Para2);
|
||||
break;
|
||||
case CmdID_WritePortUchar:
|
||||
case cmd_id_write_port_uchar:
|
||||
rtl92e_writeb(dev, CurrentCmd->Para1,
|
||||
CurrentCmd->Para2);
|
||||
break;
|
||||
|
||||
@@ -158,7 +158,7 @@ enum sw_chnl_cmd_id {
|
||||
cmd_id_bbreg_write10,
|
||||
cmd_id_write_port_ulong,
|
||||
cmd_id_write_port_ushort,
|
||||
CmdID_WritePortUchar,
|
||||
cmd_id_write_port_uchar,
|
||||
CmdID_RF_WriteReg,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user