staging: vt6656: rename BBvSetVGAGainOffset to vnt_set_vga_gain_offset
authorMalcolm Priestley <tvboxspy@gmail.com>
Wed, 16 Jul 2014 21:21:55 +0000 (22:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jul 2014 01:01:52 +0000 (18:01 -0700)
Dropping BB

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/baseband.c
drivers/staging/vt6656/baseband.h
drivers/staging/vt6656/card.c
drivers/staging/vt6656/main_usb.c

index 3138826..184f416 100644 (file)
@@ -543,7 +543,7 @@ void vnt_set_short_slot_time(struct vnt_private *priv)
        vnt_control_out_u8(priv, MESSAGE_REQUEST_BBREG, 0x0a, priv->byBBRxConf);
 }
 
-void BBvSetVGAGainOffset(struct vnt_private *priv, u8 data)
+void vnt_set_vga_gain_offset(struct vnt_private *priv, u8 data)
 {
 
        vnt_control_out_u8(priv, MESSAGE_REQUEST_BBREG, 0xE7, data);
index 1a36e13..a3aff07 100644 (file)
@@ -94,7 +94,7 @@ void vnt_get_phy_field(struct vnt_private *, u32 frame_length,
        u16 tx_rate, u8 pkt_type, struct vnt_phy_field *);
 
 void vnt_set_short_slot_time(struct vnt_private *);
-void BBvSetVGAGainOffset(struct vnt_private *, u8 byData);
+void vnt_set_vga_gain_offset(struct vnt_private *, u8);
 void vnt_set_antenna_mode(struct vnt_private *, u8);
 int vnt_vt3184_init(struct vnt_private *);
 void BBvSetDeepSleep(struct vnt_private *);
index 37cd96b..1cbdfee 100644 (file)
@@ -836,5 +836,5 @@ void vnt_set_bss_mode(struct vnt_private *priv)
                priv->abyBBVGA[3] = 0x0;
        }
 
-       BBvSetVGAGainOffset(priv, priv->abyBBVGA[0]);
+       vnt_set_vga_gain_offset(priv, priv->abyBBVGA[0]);
 }
index a418d1d..695c541 100644 (file)
@@ -881,7 +881,7 @@ static void vnt_bss_info_changed(struct ieee80211_hw *hw,
                        priv->bShortSlotTime = false;
 
                vnt_set_short_slot_time(priv);
-               BBvSetVGAGainOffset(priv, priv->abyBBVGA[0]);
+               vnt_set_vga_gain_offset(priv, priv->abyBBVGA[0]);
                BBvUpdatePreEDThreshold(priv, false);
        }