staging:rtl8192u: Rename CmdID_WritePortUlong > CMD_ID_WRITE_PORT_ULONG
authorJohn Whitmore <johnfwhitmore@gmail.com>
Fri, 13 Jul 2018 11:23:07 +0000 (12:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Jul 2018 13:41:16 +0000 (15:41 +0200)
Rename enum label CmdID_WritePortUlong to CMD_ID_WRITE_PORT_ULONG to clear the
checkpatch CamelCase issue. Simple syle change which should not impact code
execution.

Signed-off-by: John Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r819xU_phy.c
drivers/staging/rtl8192u/r819xU_phy.h

index 0b850ab..a10d345 100644 (file)
@@ -1379,7 +1379,7 @@ static u8 rtl8192_phy_SwChnlStepByStep(struct net_device *dev, u8 channel,
                                /* consider it later! */
                                rtl8192_SetTxPowerLevel(dev, channel);
                        break;
-               case CmdID_WritePortUlong:
+               case CMD_ID_WRITE_PORT_ULONG:
                        write_nic_dword(dev, CurrentCmd->Para1,
                                        CurrentCmd->Para2);
                        break;
index d69b03c..95250ac 100644 (file)
@@ -10,7 +10,7 @@
 enum switch_chan_cmd_id {
        CMD_ID_END,
        CMD_ID_SET_TX_PWR_LEVEL,
-       CmdID_WritePortUlong,
+       CMD_ID_WRITE_PORT_ULONG,
        CmdID_WritePortUshort,
        CmdID_WritePortUchar,
        CmdID_RF_WriteReg,