staging: vt6656: struct vnt_private rename byBBPreEDIndex with bb_pre_ed_index
authorMalcolm Priestley <tvboxspy@gmail.com>
Sun, 20 Jul 2014 14:33:28 +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/baseband.c
drivers/staging/vt6656/device.h

index e15e84284522d792784e8393d2475b66b08325a3..e6c7b604ede94e0b004a66fe0dc3889c997294da 100644 (file)
@@ -568,7 +568,7 @@ void vnt_exit_deep_sleep(struct vnt_private *priv)
 void vnt_update_pre_ed_threshold(struct vnt_private *priv, int scanning)
 {
        u8 cr_201 = 0x0, cr_206 = 0x0;
-       u8 ed_inx = priv->byBBPreEDIndex;
+       u8 ed_inx = priv->bb_pre_ed_index;
 
        switch (priv->rf_type) {
        case RF_AL2230:
@@ -816,10 +816,10 @@ void vnt_update_pre_ed_threshold(struct vnt_private *priv, int scanning)
 
        }
 
-       if (ed_inx == priv->byBBPreEDIndex && !scanning)
+       if (ed_inx == priv->bb_pre_ed_index && !scanning)
                return;
 
-       priv->byBBPreEDIndex = ed_inx;
+       priv->bb_pre_ed_index = ed_inx;
 
        dev_dbg(&priv->usb->dev, "%s bb_pre_ed_rssi %d\n",
                                        __func__, priv->bb_pre_ed_rssi);
index e97283be539b42a7f432d587cdec1dc9f17159fd..101d0ca8bf1eacac716ea398d9e4df0d687db4fb 100644 (file)
@@ -386,7 +386,7 @@ struct vnt_private {
        u8 bb_vga[BB_VGA_LEVEL];
 
        u8 bb_pre_ed_rssi;
-       u8 byBBPreEDIndex;
+       u8 bb_pre_ed_index;
 
        /* command timer */
        struct delayed_work run_command_work;