staging:rtl8192u: Rename EEPROM_CrystalCap - Style
Rename the constant EEPROM_CrystalCap to EEPROM_CRYSTAL_CAP. This clears the checkpatch issue with CamelCase naming. This is a coding style change which should not impact on runtime code execution. Signed-off-by: John Whitmore <johnfwhitmore@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
98dbfe8bff
commit
7a4a474db3
@ -2454,7 +2454,7 @@ static int rtl8192_read_eeprom_info(struct net_device *dev)
|
||||
RT_TRACE(COMP_EPROM, "TxPwDiff:%d\n", priv->EEPROMPwDiff);
|
||||
/* Read CrystalCap from EEPROM */
|
||||
if (bLoad_From_EEPOM) {
|
||||
ret = eprom_read(dev, (EEPROM_CrystalCap >> 1));
|
||||
ret = eprom_read(dev, (EEPROM_CRYSTAL_CAP >> 1));
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
priv->EEPROMCrystalCap = (u16)ret & 0x0f;
|
||||
|
@ -40,7 +40,7 @@
|
||||
#define EEPROM_TX_POWER_DIFF 0x1F
|
||||
#define EEPROM_THERMAL_METER 0x20
|
||||
#define EEPROM_PW_DIFF 0x21 //0x21
|
||||
#define EEPROM_CrystalCap 0x22 //0x22
|
||||
#define EEPROM_CRYSTAL_CAP 0x22 //0x22
|
||||
|
||||
#define EEPROM_TxPwIndex_CCK 0x23 //0x23
|
||||
#define EEPROM_TxPwIndex_OFDM_24G 0x24 //0x24~0x26
|
||||
|
Loading…
x
Reference in New Issue
Block a user