From: Tree Davies Date: Wed, 21 Aug 2024 03:08:54 +0000 (-0700) Subject: Staging: rtl8192e: Rename variable CmdID_WritePortUlong X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=50d39a0f102206c5aed5a827ca6f1f67ba25bf39;p=linux.git 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: Tree Davies Link: https://lore.kernel.org/r/20240821030856.57423-5-tdavies@darkphysics.net Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c index e82e992dd139..8a1aac7e10a2 100644 --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c +++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c @@ -616,7 +616,7 @@ static u8 _rtl92e_phy_switch_channel_step(struct net_device *dev, u8 channel, _rtl92e_set_tx_power_level(dev, channel); break; - case CmdID_WritePortUlong: + case cmd_id_write_port_ulong: rtl92e_writel(dev, CurrentCmd->Para1, CurrentCmd->Para2); break; diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index ecbdf725955e..1d23bc3edaea 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -156,7 +156,7 @@ enum sw_chnl_cmd_id { cmd_id_end, cmd_id_set_tx_power_level, cmd_id_bbreg_write10, - CmdID_WritePortUlong, + cmd_id_write_port_ulong, CmdID_WritePortUshort, CmdID_WritePortUchar, CmdID_RF_WriteReg,