Commit 8fda36ca authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman

staging: vt6656: camel case clean up MACvRegBitsOn

camel case changes
pDevice -> priv
byRegOfs -> reg_ofs
byBits -> bits
pbyData -> data
Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f22f7698
...@@ -192,20 +192,15 @@ void MACvRegBitsOff(struct vnt_private *priv, u8 reg_ofs, u8 bits) ...@@ -192,20 +192,15 @@ void MACvRegBitsOff(struct vnt_private *priv, u8 reg_ofs, u8 bits)
reg_ofs, MESSAGE_REQUEST_MACREG, ARRAY_SIZE(data), data); 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; data[0] = bits;
pbyData[1] = byBits; data[1] = bits;
CONTROLnsRequestOut(pDevice, CONTROLnsRequestOut(priv, MESSAGE_TYPE_WRITE_MASK,
MESSAGE_TYPE_WRITE_MASK, reg_ofs, MESSAGE_REQUEST_MACREG, ARRAY_SIZE(data), data);
byRegOfs,
MESSAGE_REQUEST_MACREG,
ARRAY_SIZE(pbyData),
pbyData
);
} }
void MACvWriteWord(struct vnt_private *pDevice, u8 byRegOfs, u16 wData) void MACvWriteWord(struct vnt_private *pDevice, u8 byRegOfs, u16 wData)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment