diff options
author | Malcolm Priestley | 2014-05-23 19:00:13 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2014-05-23 21:46:09 +0200 |
commit | 67933f425775e9a61ebc107f4e089c773681e2c8 (patch) | |
tree | 2780c5a6d68d0e1727465844bdde71c87004ec86 /drivers/staging/vt6656 | |
parent | staging: vt6656: camel case clean up MACvEnableBarkerPreambleMd (diff) | |
download | kernel-qcow2-linux-67933f425775e9a61ebc107f4e089c773681e2c8.tar.gz kernel-qcow2-linux-67933f425775e9a61ebc107f4e089c773681e2c8.tar.xz kernel-qcow2-linux-67933f425775e9a61ebc107f4e089c773681e2c8.zip |
staging: vt6656: camel case clean up MACvDisableBarkerPreambleMd
camel case changes
pDevice -> priv
phyData -> data
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6656')
-rw-r--r-- | drivers/staging/vt6656/mac.c | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/drivers/staging/vt6656/mac.c b/drivers/staging/vt6656/mac.c index 86bf3fb43327..b370b0aae451 100644 --- a/drivers/staging/vt6656/mac.c +++ b/drivers/staging/vt6656/mac.c @@ -253,20 +253,15 @@ void MACvEnableBarkerPreambleMd(struct vnt_private *priv) MAC_REG_ENCFG2, MESSAGE_REQUEST_MACREG, ARRAY_SIZE(data), data); } -void MACvDisableBarkerPreambleMd(struct vnt_private *pDevice) +void MACvDisableBarkerPreambleMd(struct vnt_private *priv) { - u8 pbyData[2]; + u8 data[2]; - pbyData[0] = 0; - pbyData[1] = EnCFG_BarkerPream; + data[0] = 0; + data[1] = EnCFG_BarkerPream; - CONTROLnsRequestOut(pDevice, - MESSAGE_TYPE_WRITE_MASK, - MAC_REG_ENCFG2, - MESSAGE_REQUEST_MACREG, - ARRAY_SIZE(pbyData), - pbyData - ); + CONTROLnsRequestOut(priv, MESSAGE_TYPE_WRITE_MASK, + MAC_REG_ENCFG2, MESSAGE_REQUEST_MACREG, ARRAY_SIZE(data), data); } void MACvWriteBeaconInterval(struct vnt_private *pDevice, u16 wInterval) |