staging: vt6656: struct vnt_private replace byAutoFBCtrl with auto_fb_ctrl
authorMalcolm Priestley <tvboxspy@gmail.com>
Sun, 20 Jul 2014 14:33:24 +0000 (15:33 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Jul 2014 19:16:29 +0000 (12:16 -0700)
Removing type prefix and camel case.

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

index 6647b2bff7daf9e7cc7dc1d28e95df776e00824a..ef9b505789b7672824de95d1644af60e86e5d8f0 100644 (file)
@@ -380,7 +380,7 @@ struct vnt_private {
 
        unsigned long key_entry_inuse;
 
-       u8 byAutoFBCtrl;
+       u8 auto_fb_ctrl;
 
        /* For Update BaseBand VGA Gain Offset */
        u8 abyBBVGA[BB_VGA_LEVEL];
index f7f4dccfafc777dd5bf1df88595b3315a61edd7f..fac13b14ac8adfd576735043b2c1d4f4447dd0cd 100644 (file)
@@ -123,7 +123,7 @@ static void device_set_options(struct vnt_private *priv)
        priv->op_mode = NL80211_IFTYPE_UNSPECIFIED;
        priv->bb_type = BBP_TYPE_DEF;
        priv->packet_type = priv->bb_type;
-       priv->byAutoFBCtrl = AUTO_FB_0;
+       priv->auto_fb_ctrl = AUTO_FB_0;
        priv->preamble_type = 0;
        priv->exist_sw_net_addr = false;
 }
@@ -280,7 +280,7 @@ static int device_init_registers(struct vnt_private *priv)
        vnt_set_antenna_mode(priv, priv->rx_antenna_mode);
 
        /* get Auto Fall Back type */
-       priv->byAutoFBCtrl = AUTO_FB_0;
+       priv->auto_fb_ctrl = AUTO_FB_0;
 
        /* default Auto Mode */
        priv->bb_type = BB_TYPE_11G;
index 8d745afbdedd43d65cbf21ebd1c78436a6672bdc..0febd03d38daa6e60d6362ed47189e514924bfd5 100644 (file)
@@ -866,7 +866,7 @@ int vnt_tx_packet(struct vnt_private *priv, struct sk_buff *skb)
 
        /* legacy rates TODO use ieee80211_tx_rate */
        if (current_rate >= RATE_18M && ieee80211_is_data(hdr->frame_control)) {
-               if (priv->byAutoFBCtrl == AUTO_FB_0) {
+               if (priv->auto_fb_ctrl == AUTO_FB_0) {
                        tx_buffer_head->wFIFOCtl |= FIFOCTL_AUTO_FB_0;
 
                        priv->tx_rate_fb0 =
@@ -875,7 +875,7 @@ int vnt_tx_packet(struct vnt_private *priv, struct sk_buff *skb)
                                vnt_fb_opt0[FB_RATE1][current_rate - RATE_18M];
 
                        fb_option = AUTO_FB_0;
-               } else if (priv->byAutoFBCtrl == AUTO_FB_1) {
+               } else if (priv->auto_fb_ctrl == AUTO_FB_1) {
                        tx_buffer_head->wFIFOCtl |= FIFOCTL_AUTO_FB_1;
 
                        priv->tx_rate_fb0 =