]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
staging: vt6656: camel case clean up MACvRegBitsOn
authorMalcolm Priestley <tvboxspy@gmail.com>
Fri, 23 May 2014 17:00:06 +0000 (18:00 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 19:46:08 +0000 (04:46 +0900)
camel case changes
pDevice -> priv
byRegOfs -> reg_ofs
byBits -> bits
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 2edbaf9c084df4cb8710b0e0822f34c45e87130f..bb0c909559342712e9d7488b091e07cf15701016 100644 (file)
@@ -192,20 +192,15 @@ void MACvRegBitsOff(struct vnt_private *priv, u8 reg_ofs, u8 bits)
                reg_ofs, MESSAGE_REQUEST_MACREG, ARRAY_SIZE(data), data);
 }
 
-void MACvRegBitsOn(struct vnt_private *pDevice, u8 byRegOfs, u8 byBits)
+void MACvRegBitsOn(struct vnt_private *priv, u8 reg_ofs, u8 bits)
 {
-       u8 pbyData[2];
+       u8 data[2];
 
-    pbyData[0] = byBits;
-    pbyData[1] = byBits;
+       data[0] = bits;
+       data[1] = bits;
 
-    CONTROLnsRequestOut(pDevice,
-                        MESSAGE_TYPE_WRITE_MASK,
-                        byRegOfs,
-                        MESSAGE_REQUEST_MACREG,
-                       ARRAY_SIZE(pbyData),
-                        pbyData
-                        );
+       CONTROLnsRequestOut(priv, MESSAGE_TYPE_WRITE_MASK,
+               reg_ofs, MESSAGE_REQUEST_MACREG, ARRAY_SIZE(data), data);
 }
 
 void MACvWriteWord(struct vnt_private *pDevice, u8 byRegOfs, u16 wData)