staging: vt6656: camel case clean up MACvSetBBType
authorMalcolm Priestley <tvboxspy@gmail.com>
Fri, 23 May 2014 17:00:02 +0000 (18:00 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 19:46:07 +0000 (04:46 +0900)
Camel case changes
pDevice -> priv
byType -> type
pbyData -> data

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

index cc80c8e40633a896ed0919ab00ca93be5bd7f7be..0e14aabca736df3f4ef5c2e588243ad20d9f0b9a 100644 (file)
@@ -77,20 +77,15 @@ void MACbShutdown(struct vnt_private *priv)
        CONTROLnsRequestOut(priv, MESSAGE_TYPE_MACSHUTDOWN, 0, 0, 0, NULL);
 }
 
-void MACvSetBBType(struct vnt_private *pDevice, u8 byType)
+void MACvSetBBType(struct vnt_private *priv, u8 type)
 {
-       u8 pbyData[2];
+       u8 data[2];
 
-    pbyData[0] = byType;
-    pbyData[1] = EnCFG_BBType_MASK;
+       data[0] = type;
+       data[1] = EnCFG_BBType_MASK;
 
-    CONTROLnsRequestOut(pDevice,
-                        MESSAGE_TYPE_WRITE_MASK,
-                        MAC_REG_ENCFG0,
-                        MESSAGE_REQUEST_MACREG,
-                       ARRAY_SIZE(pbyData),
-                        pbyData
-                        );
+       CONTROLnsRequestOut(priv, MESSAGE_TYPE_WRITE_MASK, MAC_REG_ENCFG0,
+               MESSAGE_REQUEST_MACREG, ARRAY_SIZE(data), data);
 }
 
 /*