Commit 98dbfe8b authored by John Whitmore's avatar John Whitmore Committed by Greg Kroah-Hartman

staging:rtl8192u: Rename EEPROM_PwDiff - Style

Rename the constant EEPROM_PwDiff to EEPROM_PW_DIFF. This change clears
the checkpatch issue with CamelCase naming.

This is a coding style change which should not 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 9bfe5736
...@@ -2445,7 +2445,7 @@ static int rtl8192_read_eeprom_info(struct net_device *dev) ...@@ -2445,7 +2445,7 @@ static int rtl8192_read_eeprom_info(struct net_device *dev)
priv->TSSI_13dBm = priv->EEPROMThermalMeter * 100; priv->TSSI_13dBm = priv->EEPROMThermalMeter * 100;
/* read antenna tx power offset of B/C/D to A from EEPROM */ /* read antenna tx power offset of B/C/D to A from EEPROM */
if (bLoad_From_EEPOM) { if (bLoad_From_EEPOM) {
ret = eprom_read(dev, (EEPROM_PwDiff >> 1)); ret = eprom_read(dev, (EEPROM_PW_DIFF >> 1));
if (ret < 0) if (ret < 0)
return ret; return ret;
priv->EEPROMPwDiff = ((u16)ret & 0x0f00) >> 8; priv->EEPROMPwDiff = ((u16)ret & 0x0f00) >> 8;
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
#define EEPROM_TX_POWER_DIFF 0x1F #define EEPROM_TX_POWER_DIFF 0x1F
#define EEPROM_THERMAL_METER 0x20 #define EEPROM_THERMAL_METER 0x20
#define EEPROM_PwDiff 0x21 //0x21 #define EEPROM_PW_DIFF 0x21 //0x21
#define EEPROM_CrystalCap 0x22 //0x22 #define EEPROM_CrystalCap 0x22 //0x22
#define EEPROM_TxPwIndex_CCK 0x23 //0x23 #define EEPROM_TxPwIndex_CCK 0x23 //0x23
......
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