Commit 3e78c212 authored by John Whitmore's avatar John Whitmore Committed by Greg Kroah-Hartman

staging:rtl8192u: Rename EEPROM_TxPwIndex_CCK - Style

Rename the constant EEPROM_TxPwIndex_CCK to EEPROM_TX_PW_INDEX_CCK.
This change clears the checkpatch issue with CamelCase naming.

The change is coding style in nature so should have no impact on
runtime code execution.
Signed-off-by: default avatarJohn Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7a4a474d
...@@ -2474,7 +2474,7 @@ static int rtl8192_read_eeprom_info(struct net_device *dev) ...@@ -2474,7 +2474,7 @@ static int rtl8192_read_eeprom_info(struct net_device *dev)
int i; int i;
if (bLoad_From_EEPOM) { if (bLoad_From_EEPOM) {
ret = eprom_read(dev, (EEPROM_TxPwIndex_CCK >> 1)); ret = eprom_read(dev, (EEPROM_TX_PW_INDEX_CCK >> 1));
if (ret < 0) if (ret < 0)
return ret; return ret;
priv->EEPROMTxPowerLevelCCK = ((u16)ret & 0xff) >> 8; priv->EEPROMTxPowerLevelCCK = ((u16)ret & 0xff) >> 8;
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
#define EEPROM_PW_DIFF 0x21 //0x21 #define EEPROM_PW_DIFF 0x21 //0x21
#define EEPROM_CRYSTAL_CAP 0x22 //0x22 #define EEPROM_CRYSTAL_CAP 0x22 //0x22
#define EEPROM_TxPwIndex_CCK 0x23 //0x23 #define EEPROM_TX_PW_INDEX_CCK 0x23 //0x23
#define EEPROM_TxPwIndex_OFDM_24G 0x24 //0x24~0x26 #define EEPROM_TxPwIndex_OFDM_24G 0x24 //0x24~0x26
#define EEPROM_TxPwIndex_CCK_V1 0x29 //0x29~0x2B #define EEPROM_TxPwIndex_CCK_V1 0x29 //0x29~0x2B
#define EEPROM_TxPwIndex_OFDM_24G_V1 0x2C //0x2C~0x2E #define EEPROM_TxPwIndex_OFDM_24G_V1 0x2C //0x2C~0x2E
......
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