From: Malcolm Priestley Date: Wed, 4 Jun 2014 17:25:22 +0000 (+0100) Subject: staging: vt6656: PSvDisablePowerSaving remove camel case X-Git-Tag: v3.17-rc1~123^2~1744 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=38c7b5b597d22b5c469ce0ee48a521f206debf2e;p=platform%2Fkernel%2Flinux-exynos.git staging: vt6656: PSvDisablePowerSaving remove camel case pDevice -> priv Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6656/power.c b/drivers/staging/vt6656/power.c index 718443f..b7c2720 100644 --- a/drivers/staging/vt6656/power.c +++ b/drivers/staging/vt6656/power.c @@ -125,24 +125,24 @@ void PSvEnablePowerSaving(struct vnt_private *priv, u16 listen_interval) * */ -void PSvDisablePowerSaving(struct vnt_private *pDevice) +void PSvDisablePowerSaving(struct vnt_private *priv) { /* disable power saving hw function */ - vnt_control_out(pDevice, MESSAGE_TYPE_DISABLE_PS, 0, + vnt_control_out(priv, MESSAGE_TYPE_DISABLE_PS, 0, 0, 0, NULL); /* clear AutoSleep */ - vnt_mac_reg_bits_off(pDevice, MAC_REG_PSCFG, PSCFG_AUTOSLEEP); + vnt_mac_reg_bits_off(priv, MAC_REG_PSCFG, PSCFG_AUTOSLEEP); /* set always listen beacon */ - vnt_mac_reg_bits_on(pDevice, MAC_REG_PSCTL, PSCTL_ALBCN); - pDevice->bEnablePSMode = false; + vnt_mac_reg_bits_on(priv, MAC_REG_PSCTL, PSCTL_ALBCN); + priv->bEnablePSMode = false; - if (pDevice->op_mode == NL80211_IFTYPE_STATION) - PSbSendNullPacket(pDevice); + if (priv->op_mode == NL80211_IFTYPE_STATION) + PSbSendNullPacket(priv); - pDevice->bPWBitOn = false; + priv->bPWBitOn = false; } /*