staging: vt6656: struct vnt_private replace abyEEPROM with eeprom

Removing type prefix and camel case.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Malcolm Priestley 2014-07-20 15:33:16 +01:00 committed by Greg Kroah-Hartman
parent d80bf43c82
commit bbb112639d
3 changed files with 15 additions and 15 deletions

View File

@ -390,11 +390,11 @@ int vnt_vt3184_init(struct vnt_private *priv)
status = vnt_control_in(priv, MESSAGE_TYPE_READ, 0,
MESSAGE_REQUEST_EEPROM, EEP_MAX_CONTEXT_SIZE,
priv->abyEEPROM);
priv->eeprom);
if (status != STATUS_SUCCESS)
return false;
priv->rf_type = priv->abyEEPROM[EEP_OFS_RFTYPE];
priv->rf_type = priv->eeprom[EEP_OFS_RFTYPE];
dev_dbg(&priv->usb->dev, "RF Type %d\n", priv->rf_type);

View File

@ -336,7 +336,7 @@ struct vnt_private {
u8 top_ofdm_basic_rate;
u8 top_cck_basic_rate;
u8 abyEEPROM[EEP_MAX_CONTEXT_SIZE]; /*u32 alignment */
u8 eeprom[EEP_MAX_CONTEXT_SIZE]; /*u32 alignment */
u8 byPreambleType;

View File

@ -201,17 +201,17 @@ static int device_init_registers(struct vnt_private *priv)
/* target to IF pin while programming to RF chip */
priv->byCurPwr = 0xFF;
priv->byCCKPwr = priv->abyEEPROM[EEP_OFS_PWR_CCK];
priv->byOFDMPwrG = priv->abyEEPROM[EEP_OFS_PWR_OFDMG];
priv->byCCKPwr = priv->eeprom[EEP_OFS_PWR_CCK];
priv->byOFDMPwrG = priv->eeprom[EEP_OFS_PWR_OFDMG];
/* load power table */
for (ii = 0; ii < 14; ii++) {
priv->abyCCKPwrTbl[ii] =
priv->abyEEPROM[ii + EEP_OFS_CCK_PWR_TBL];
priv->eeprom[ii + EEP_OFS_CCK_PWR_TBL];
if (priv->abyCCKPwrTbl[ii] == 0)
priv->abyCCKPwrTbl[ii] = priv->byCCKPwr;
priv->abyOFDMPwrTbl[ii] =
priv->abyEEPROM[ii + EEP_OFS_OFDM_PWR_TBL];
priv->eeprom[ii + EEP_OFS_OFDM_PWR_TBL];
if (priv->abyOFDMPwrTbl[ii] == 0)
priv->abyOFDMPwrTbl[ii] = priv->byOFDMPwrG;
}
@ -230,13 +230,13 @@ static int device_init_registers(struct vnt_private *priv)
/* load OFDM A power table */
for (ii = 0; ii < CB_MAX_CHANNEL_5G; ii++) {
priv->abyOFDMAPwrTbl[ii] =
priv->abyEEPROM[ii + EEP_OFS_OFDMA_PWR_TBL];
priv->eeprom[ii + EEP_OFS_OFDMA_PWR_TBL];
if (priv->abyOFDMAPwrTbl[ii] == 0)
priv->abyOFDMAPwrTbl[ii] = priv->byOFDMPwrA;
}
antenna = priv->abyEEPROM[EEP_OFS_ANTENNA];
antenna = priv->eeprom[EEP_OFS_ANTENNA];
if (antenna & EEP_ANTINV)
priv->tx_rx_ant_inv = true;
@ -290,12 +290,12 @@ static int device_init_registers(struct vnt_private *priv)
/* load vt3266 calibration parameters in EEPROM */
if (priv->rf_type == RF_VT3226D0) {
if ((priv->abyEEPROM[EEP_OFS_MAJOR_VER] == 0x1) &&
(priv->abyEEPROM[EEP_OFS_MINOR_VER] >= 0x4)) {
if ((priv->eeprom[EEP_OFS_MAJOR_VER] == 0x1) &&
(priv->eeprom[EEP_OFS_MINOR_VER] >= 0x4)) {
calib_tx_iq = priv->abyEEPROM[EEP_OFS_CALIB_TX_IQ];
calib_tx_dc = priv->abyEEPROM[EEP_OFS_CALIB_TX_DC];
calib_rx_iq = priv->abyEEPROM[EEP_OFS_CALIB_RX_IQ];
calib_tx_iq = priv->eeprom[EEP_OFS_CALIB_TX_IQ];
calib_tx_dc = priv->eeprom[EEP_OFS_CALIB_TX_DC];
calib_rx_iq = priv->eeprom[EEP_OFS_CALIB_RX_IQ];
if (calib_tx_iq || calib_tx_dc || calib_rx_iq) {
/* CR255, enable TX/RX IQ and
DC compensation mode */
@ -348,7 +348,7 @@ static int device_init_registers(struct vnt_private *priv)
vnt_set_short_slot_time(priv);
priv->radio_ctl = priv->abyEEPROM[EEP_OFS_RADIOCTL];
priv->radio_ctl = priv->eeprom[EEP_OFS_RADIOCTL];
if ((priv->radio_ctl & EEP_RADIOCTL_ENABLE) != 0) {
status = vnt_control_in(priv, MESSAGE_TYPE_READ,