staging: vt6656: device_set_options remove camel case
authorMalcolm Priestley <tvboxspy@gmail.com>
Wed, 16 Jul 2014 21:22:00 +0000 (22:22 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jul 2014 01:01:52 +0000 (18:01 -0700)
Camel case changes
pDevice -> priv

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

index 40594a184b28758c775cc037023b5f51aa05113d..37541f0956b49a1fe711525c2804da4cb7f8e1da 100644 (file)
@@ -203,18 +203,18 @@ static bool device_alloc_bufs(struct vnt_private *pDevice);
 
 static void usb_device_reset(struct vnt_private *pDevice);
 
-static void device_set_options(struct vnt_private *pDevice)
+static void device_set_options(struct vnt_private *priv)
 {
-       pDevice->cbTD = TX_DESC_DEF0;
-       pDevice->cbRD = RX_DESC_DEF0;
-       pDevice->byShortRetryLimit = SHORT_RETRY_DEF;
-       pDevice->byLongRetryLimit = LONG_RETRY_DEF;
-       pDevice->op_mode = NL80211_IFTYPE_UNSPECIFIED;
-       pDevice->byBBType = BBP_TYPE_DEF;
-       pDevice->byPacketType = pDevice->byBBType;
-       pDevice->byAutoFBCtrl = AUTO_FB_0;
-       pDevice->byPreambleType = 0;
-       pDevice->bExistSWNetAddr = false;
+       priv->cbTD = TX_DESC_DEF0;
+       priv->cbRD = RX_DESC_DEF0;
+       priv->byShortRetryLimit = SHORT_RETRY_DEF;
+       priv->byLongRetryLimit = LONG_RETRY_DEF;
+       priv->op_mode = NL80211_IFTYPE_UNSPECIFIED;
+       priv->byBBType = BBP_TYPE_DEF;
+       priv->byPacketType = priv->byBBType;
+       priv->byAutoFBCtrl = AUTO_FB_0;
+       priv->byPreambleType = 0;
+       priv->bExistSWNetAddr = false;
 }
 
 /*