From: Malcolm Priestley Date: Fri, 23 May 2014 17:00:06 +0000 (+0100) Subject: staging: vt6656: camel case clean up MACvRegBitsOn X-Git-Tag: Ubuntu-5.2.0-15.16~13039^2~39^2~328 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=8fda36cac1a2cdb4ad00966ab25120bb540fd558;p=mirror_ubuntu-eoan-kernel.git staging: vt6656: camel case clean up MACvRegBitsOn camel case changes pDevice -> priv byRegOfs -> reg_ofs byBits -> bits 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 2edbaf9c084d..bb0c90955934 100644 --- a/drivers/staging/vt6656/mac.c +++ b/drivers/staging/vt6656/mac.c @@ -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)