Rename static function s_vCalculateOFDMRParameter into vnt_calculate_ofdm_rspinf in order to make it compliant with linux kernel coding style. Signed-off-by: Alberto Merciai <alb3rt0.m3rciai@xxxxxxxxx> --- drivers/staging/vt6655/card.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/staging/vt6655/card.c b/drivers/staging/vt6655/card.c index ee2d145778ed..dd1d8872d3d8 100644 --- a/drivers/staging/vt6655/card.c +++ b/drivers/staging/vt6655/card.c @@ -56,7 +56,7 @@ static const unsigned short cwRXBCNTSFOff[MAX_RATE] = { /*--------------------- Static Functions --------------------------*/ -static void s_vCalculateOFDMRParameter(unsigned char rate, u8 bb_type, +static void vnt_calculate_ofdm_rspinf(unsigned char rate, u8 bb_type, unsigned char *pbyTxRate, unsigned char *pbyRsvTime); @@ -75,7 +75,7 @@ static void s_vCalculateOFDMRParameter(unsigned char rate, u8 bb_type, * * Return Value: none */ -static void s_vCalculateOFDMRParameter(unsigned char rate, +static void vnt_calculate_ofdm_rspinf(unsigned char rate, u8 bb_type, unsigned char *pbyTxRate, unsigned char *pbyRsvTime) @@ -639,42 +639,42 @@ void CARDvSetRSPINF(struct vnt_private *priv, u8 bb_type) VNSvOutPortD(priv->port_offset + MAC_REG_RSPINF_B_11, phy.field_write); /* RSPINF_a_6 */ - s_vCalculateOFDMRParameter(RATE_6M, + vnt_calculate_ofdm_rspinf(RATE_6M, bb_type, &byTxRate, &byRsvTime); VNSvOutPortW(priv->port_offset + MAC_REG_RSPINF_A_6, MAKEWORD(byTxRate, byRsvTime)); /* RSPINF_a_9 */ - s_vCalculateOFDMRParameter(RATE_9M, + vnt_calculate_ofdm_rspinf(RATE_9M, bb_type, &byTxRate, &byRsvTime); VNSvOutPortW(priv->port_offset + MAC_REG_RSPINF_A_9, MAKEWORD(byTxRate, byRsvTime)); /* RSPINF_a_12 */ - s_vCalculateOFDMRParameter(RATE_12M, + vnt_calculate_ofdm_rspinf(RATE_12M, bb_type, &byTxRate, &byRsvTime); VNSvOutPortW(priv->port_offset + MAC_REG_RSPINF_A_12, MAKEWORD(byTxRate, byRsvTime)); /* RSPINF_a_18 */ - s_vCalculateOFDMRParameter(RATE_18M, + vnt_calculate_ofdm_rspinf(RATE_18M, bb_type, &byTxRate, &byRsvTime); VNSvOutPortW(priv->port_offset + MAC_REG_RSPINF_A_18, MAKEWORD(byTxRate, byRsvTime)); /* RSPINF_a_24 */ - s_vCalculateOFDMRParameter(RATE_24M, + vnt_calculate_ofdm_rspinf(RATE_24M, bb_type, &byTxRate, &byRsvTime); VNSvOutPortW(priv->port_offset + MAC_REG_RSPINF_A_24, MAKEWORD(byTxRate, byRsvTime)); /* RSPINF_a_36 */ - s_vCalculateOFDMRParameter(CARDwGetOFDMControlRate((void *)priv, + vnt_calculate_ofdm_rspinf(CARDwGetOFDMControlRate((void *)priv, RATE_36M), bb_type, &byTxRate, @@ -682,7 +682,7 @@ void CARDvSetRSPINF(struct vnt_private *priv, u8 bb_type) VNSvOutPortW(priv->port_offset + MAC_REG_RSPINF_A_36, MAKEWORD(byTxRate, byRsvTime)); /* RSPINF_a_48 */ - s_vCalculateOFDMRParameter(CARDwGetOFDMControlRate((void *)priv, + vnt_calculate_ofdm_rspinf(CARDwGetOFDMControlRate((void *)priv, RATE_48M), bb_type, &byTxRate, @@ -690,7 +690,7 @@ void CARDvSetRSPINF(struct vnt_private *priv, u8 bb_type) VNSvOutPortW(priv->port_offset + MAC_REG_RSPINF_A_48, MAKEWORD(byTxRate, byRsvTime)); /* RSPINF_a_54 */ - s_vCalculateOFDMRParameter(CARDwGetOFDMControlRate((void *)priv, + vnt_calculate_ofdm_rspinf(CARDwGetOFDMControlRate((void *)priv, RATE_54M), bb_type, &byTxRate, @@ -698,7 +698,7 @@ void CARDvSetRSPINF(struct vnt_private *priv, u8 bb_type) VNSvOutPortW(priv->port_offset + MAC_REG_RSPINF_A_54, MAKEWORD(byTxRate, byRsvTime)); /* RSPINF_a_72 */ - s_vCalculateOFDMRParameter(CARDwGetOFDMControlRate((void *)priv, + vnt_calculate_ofdm_rspinf(CARDwGetOFDMControlRate((void *)priv, RATE_54M), bb_type, &byTxRate, -- 2.25.1