]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
staging: vt6656: camel case clean up MACvDisableKeyEntry
authorMalcolm Priestley <tvboxspy@gmail.com>
Fri, 23 May 2014 17:00:04 +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
uEntryIdx -> entry_idx

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

index a341eab8986b2c960d0ad55e5695e3bf81d71022..c6bddf592ac7df35132597324a6908b087544df3 100644 (file)
@@ -102,16 +102,10 @@ void MACvSetBBType(struct vnt_private *priv, u8 type)
  * Return Value: none
  *
  */
-void MACvDisableKeyEntry(struct vnt_private *pDevice, u8 uEntryIdx)
+void MACvDisableKeyEntry(struct vnt_private *priv, u8 entry_idx)
 {
-    //issue write misc fifo command to device
-    CONTROLnsRequestOut(pDevice,
-                        MESSAGE_TYPE_CLRKEYENTRY,
-                        0,
-                        0,
-                       sizeof(uEntryIdx),
-                       &uEntryIdx
-                        );
+       CONTROLnsRequestOut(priv, MESSAGE_TYPE_CLRKEYENTRY, 0, 0,
+               sizeof(entry_idx), &entry_idx);
 }
 
 /*