Commit 64641cf6 authored by John Whitmore's avatar John Whitmore Committed by Greg Kroah-Hartman

staging:rtl8192u: Rename CmdID_WritePortUchar > CMD_ID_WRITE_PORT_UCHAR

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: default avatarJohn Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 61c9f41b
...@@ -1387,7 +1387,7 @@ static u8 rtl8192_phy_SwChnlStepByStep(struct net_device *dev, u8 channel, ...@@ -1387,7 +1387,7 @@ static u8 rtl8192_phy_SwChnlStepByStep(struct net_device *dev, u8 channel,
write_nic_word(dev, CurrentCmd->Para1, write_nic_word(dev, CurrentCmd->Para1,
(u16)CurrentCmd->Para2); (u16)CurrentCmd->Para2);
break; break;
case CmdID_WritePortUchar: case CMD_ID_WRITE_PORT_UCHAR:
write_nic_byte(dev, CurrentCmd->Para1, write_nic_byte(dev, CurrentCmd->Para1,
(u8)CurrentCmd->Para2); (u8)CurrentCmd->Para2);
break; break;
......
...@@ -12,7 +12,7 @@ enum switch_chan_cmd_id { ...@@ -12,7 +12,7 @@ enum switch_chan_cmd_id {
CMD_ID_SET_TX_PWR_LEVEL, CMD_ID_SET_TX_PWR_LEVEL,
CMD_ID_WRITE_PORT_ULONG, CMD_ID_WRITE_PORT_ULONG,
CMD_ID_WRITE_PORT_USHORT, CMD_ID_WRITE_PORT_USHORT,
CmdID_WritePortUchar, CMD_ID_WRITE_PORT_UCHAR,
CmdID_RF_WriteReg, CmdID_RF_WriteReg,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment