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

staging: vt6656: camel case clean up MACvSetBBType

Camel case changes
pDevice -> priv
byType -> type
pbyData -> data
Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 88eee075
...@@ -77,20 +77,15 @@ void MACbShutdown(struct vnt_private *priv) ...@@ -77,20 +77,15 @@ void MACbShutdown(struct vnt_private *priv)
CONTROLnsRequestOut(priv, MESSAGE_TYPE_MACSHUTDOWN, 0, 0, 0, NULL); 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; data[0] = type;
pbyData[1] = EnCFG_BBType_MASK; data[1] = EnCFG_BBType_MASK;
CONTROLnsRequestOut(pDevice, CONTROLnsRequestOut(priv, MESSAGE_TYPE_WRITE_MASK, MAC_REG_ENCFG0,
MESSAGE_TYPE_WRITE_MASK, MESSAGE_REQUEST_MACREG, ARRAY_SIZE(data), data);
MAC_REG_ENCFG0,
MESSAGE_REQUEST_MACREG,
ARRAY_SIZE(pbyData),
pbyData
);
} }
/* /*
......
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