From: Malcolm Priestley Date: Fri, 23 May 2014 17:00:02 +0000 (+0100) Subject: staging: vt6656: camel case clean up MACvSetBBType X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bee7b68add90105a504360f262ea8efa5c4c3aaa;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git staging: vt6656: camel case clean up MACvSetBBType Camel case changes pDevice -> priv byType -> type pbyData -> data Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6656/mac.c b/drivers/staging/vt6656/mac.c index cc80c8e40633..0e14aabca736 100644 --- a/drivers/staging/vt6656/mac.c +++ b/drivers/staging/vt6656/mac.c @@ -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); } /*