]> www.infradead.org Git - linux.git/commitdiff
Staging: rtl8192e: Rename variable CmdID_WritePortUlong
authorTree Davies <tdavies@darkphysics.net>
Wed, 21 Aug 2024 03:08:54 +0000 (20:08 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Aug 2024 07:46:50 +0000 (15:46 +0800)
Rename variable CmdID_WritePortUlong to cmd_id_write_port_ulong
to fix checkpatch warning Avoid CamelCase.

Signed-off-by: Tree Davies <tdavies@darkphysics.net>
Link: https://lore.kernel.org/r/20240821030856.57423-5-tdavies@darkphysics.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c
drivers/staging/rtl8192e/rtllib.h

index e82e992dd139911230cca9d52611c5de42e46924..8a1aac7e10a2f5f153ff20fa12daaf321ef0a5a9 100644 (file)
@@ -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;
index ecbdf725955e6a2ffd4ed2bcf1da2d9427e4bcf5..1d23bc3edaea797e437f78bf6fc1f1de92290262 100644 (file)
@@ -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,