diff options
| author | John Whitmore <johnfwhitmore@gmail.com> | 2018-07-13 14:23:08 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-13 16:41:17 +0300 |
| commit | 61c9f41b317500d95e562726d15c640ce5b4de76 (patch) | |
| tree | 6dd0cf37b5519afb073f536b5d35799566d88b48 | |
| parent | 3ebdf34f548141d1d7f3a69c10b590789a0e5411 (diff) | |
| download | linux-61c9f41b317500d95e562726d15c640ce5b4de76.tar.xz | |
staging:rtl8192u: Rename CmdID_WritePortUshort > CMD_ID_WRITE_PORT_USHORT
Rename the enum label CmdID_WritePortUshort to CMD_ID_WRITE_PORT_USHORT to
clear the checkpatch warning on CamelCase naming. This 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>
| -rw-r--r-- | drivers/staging/rtl8192u/r819xU_phy.c | 2 | ||||
| -rw-r--r-- | drivers/staging/rtl8192u/r819xU_phy.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192u/r819xU_phy.c b/drivers/staging/rtl8192u/r819xU_phy.c index a10d3455b1f8..a681e7eab219 100644 --- a/drivers/staging/rtl8192u/r819xU_phy.c +++ b/drivers/staging/rtl8192u/r819xU_phy.c @@ -1383,7 +1383,7 @@ static u8 rtl8192_phy_SwChnlStepByStep(struct net_device *dev, u8 channel, write_nic_dword(dev, CurrentCmd->Para1, CurrentCmd->Para2); break; - case CmdID_WritePortUshort: + case CMD_ID_WRITE_PORT_USHORT: write_nic_word(dev, CurrentCmd->Para1, (u16)CurrentCmd->Para2); break; diff --git a/drivers/staging/rtl8192u/r819xU_phy.h b/drivers/staging/rtl8192u/r819xU_phy.h index 95250ac4764e..45372a2ff7c5 100644 --- a/drivers/staging/rtl8192u/r819xU_phy.h +++ b/drivers/staging/rtl8192u/r819xU_phy.h @@ -11,7 +11,7 @@ enum switch_chan_cmd_id { CMD_ID_END, CMD_ID_SET_TX_PWR_LEVEL, CMD_ID_WRITE_PORT_ULONG, - CmdID_WritePortUshort, + CMD_ID_WRITE_PORT_USHORT, CmdID_WritePortUchar, CmdID_RF_WriteReg, }; |
