Search Linux Wireless

[PATCH 10/21] staging: vt6656: device_set_options remove camel case

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Camel case changes
pDevice -> priv

Signed-off-by: Malcolm Priestley <tvboxspy@xxxxxxxxx>
---
 drivers/staging/vt6656/main_usb.c | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c
index 40594a1..37541f0 100644
--- a/drivers/staging/vt6656/main_usb.c
+++ b/drivers/staging/vt6656/main_usb.c
@@ -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;
 }
 
 /*
-- 
2.0.1

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux