diff options
author | John Whitmore <johnfwhitmore@gmail.com> | 2018-08-26 22:14:34 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-08-27 19:27:49 +0200 |
commit | 74103437df6ad8f18f4a92e14080c60b42ab3d95 (patch) | |
tree | b4c442fc57d937e386c5581f878a3daf55a82205 /drivers/staging/rtl8192u | |
parent | 81bba51495f5a7b4272600e1b8c5622cedd79bf4 (diff) |
staging:rtl8192u: Rename EEPROM_Default_ThermalMeter - Style
Rename the constant EEPROM_Default_ThermalMeter to
EEPROM_DEFAULT_THERNAL_METER, this change clears the checkpatch
issue with CamelCase naming.
This is purely a coding style change which should have no impact
on runtime code execution.
Signed-off-by: John Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192u')
-rw-r--r-- | drivers/staging/rtl8192u/r8192U_core.c | 2 | ||||
-rw-r--r-- | drivers/staging/rtl8192u/r8192U_hw.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192u/r8192U_core.c b/drivers/staging/rtl8192u/r8192U_core.c index 4663502044e4..0ef525ccdcba 100644 --- a/drivers/staging/rtl8192u/r8192U_core.c +++ b/drivers/staging/rtl8192u/r8192U_core.c @@ -2439,7 +2439,7 @@ static int rtl8192_read_eeprom_info(struct net_device *dev) return ret; priv->EEPROMThermalMeter = (u8)((u16)ret & 0x00ff); } else - priv->EEPROMThermalMeter = EEPROM_Default_ThermalMeter; + priv->EEPROMThermalMeter = EEPROM_DEFAULT_THERNAL_METER; RT_TRACE(COMP_EPROM, "ThermalMeter:%d\n", priv->EEPROMThermalMeter); /* for tx power track */ priv->TSSI_13dBm = priv->EEPROMThermalMeter * 100; diff --git a/drivers/staging/rtl8192u/r8192U_hw.h b/drivers/staging/rtl8192u/r8192U_hw.h index f98e6c2cf414..b485c7781d77 100644 --- a/drivers/staging/rtl8192u/r8192U_hw.h +++ b/drivers/staging/rtl8192u/r8192U_hw.h @@ -48,7 +48,7 @@ #define EEPROM_TX_PW_INDEX_OFDM_24G_V1 0x2C //0x2C~0x2E #define EEPROM_TX_PW_INDEX_VER 0x27 //0x27 -#define EEPROM_Default_ThermalMeter 0x7 +#define EEPROM_DEFAULT_THERNAL_METER 0x7 #define EEPROM_Default_PwDiff 0x4 #define EEPROM_Default_CrystalCap 0x5 #define EEPROM_Default_TxPower 0x1010 |