]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging:rtl8192u: Rename CmdID_WritePortUchar > CMD_ID_WRITE_PORT_UCHAR
authorJohn Whitmore <johnfwhitmore@gmail.com>
Fri, 13 Jul 2018 11:23:09 +0000 (12:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Jul 2018 13:41:17 +0000 (15:41 +0200)
Rename the enum label CmdID_WritePortUchar to CMD_ID_WRITE_PORT_UCHAR, to
clear the checkpatch issue with CamelCase. The change is a coding style change
only and 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 a681e7eab2197d32ddbe414035003dbb18e95197..6c57c38dc9fe0bd28c5f0b46d67982576528a9d9 100644 (file)
@@ -1387,7 +1387,7 @@ static u8 rtl8192_phy_SwChnlStepByStep(struct net_device *dev, u8 channel,
                        write_nic_word(dev, CurrentCmd->Para1,
                                       (u16)CurrentCmd->Para2);
                        break;
-               case CmdID_WritePortUchar:
+               case CMD_ID_WRITE_PORT_UCHAR:
                        write_nic_byte(dev, CurrentCmd->Para1,
                                       (u8)CurrentCmd->Para2);
                        break;
index 45372a2ff7c5e5b87501b693fc16c1aa89a61294..1496f74768c90721324188301447c54d6ab75043 100644 (file)
@@ -12,7 +12,7 @@ enum switch_chan_cmd_id {
        CMD_ID_SET_TX_PWR_LEVEL,
        CMD_ID_WRITE_PORT_ULONG,
        CMD_ID_WRITE_PORT_USHORT,
-       CmdID_WritePortUchar,
+       CMD_ID_WRITE_PORT_UCHAR,
        CmdID_RF_WriteReg,
 };