diff options
author | John Whitmore <johnfwhitmore@gmail.com> | 2018-08-26 22:14:29 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-08-27 19:27:48 +0200 |
commit | 3e78c2127d5b09e2ebfecb1afc0ab57339a3bbb2 (patch) | |
tree | e52c93e32c60bdb5f9062862315ca22acc057fc3 /drivers/staging/rtl8192u/r8192U_core.c | |
parent | staging:rtl8192u: Rename EEPROM_CrystalCap - Style (diff) | |
download | linux-dev-3e78c2127d5b09e2ebfecb1afc0ab57339a3bbb2.tar.xz linux-dev-3e78c2127d5b09e2ebfecb1afc0ab57339a3bbb2.zip |
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: John Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192u/r8192U_core.c')
-rw-r--r-- | drivers/staging/rtl8192u/r8192U_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192u/r8192U_core.c b/drivers/staging/rtl8192u/r8192U_core.c index 26bc41c67521..3fb23548e32b 100644 --- a/drivers/staging/rtl8192u/r8192U_core.c +++ b/drivers/staging/rtl8192u/r8192U_core.c @@ -2474,7 +2474,7 @@ static int rtl8192_read_eeprom_info(struct net_device *dev) int i; 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) return ret; priv->EEPROMTxPowerLevelCCK = ((u16)ret & 0xff) >> 8; |