Skip to content

Commit c97dbf1

Browse files
opensource206gregkh
authored andcommitted
staging: vt6655: Type encoding info dropped from function name "CARDvSetRSPINF"
function name "CARDvSetRSPINF" updated like below: a.type encoding info dropped from name b.camelcase name replaced by snakecase Issue found by checkpatch Signed-off-by: Pavan Bobba <opensource206@gmail.com> Link: https://lore.kernel.org/r/63ab11bce827d20cf30eafd874d96128a6e969f8.1698396278.git.opensource206@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 1904b72 commit c97dbf1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

drivers/staging/vt6655/card.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Purpose: Provide functions to setup NIC operation mode
77
* Functions:
88
* s_vSafeResetTx - Rest Tx
9-
* CARDvSetRSPINF - Set RSPINF
9+
* card_set_rspinf - Set RSPINF
1010
* CARDvUpdateBasicTopRate - Update BasicTopRate
1111
* CARDbAddBasicRate - Add to BasicRateSet
1212
* CARDbIsOFDMinBasicRate - Check if any OFDM rate is in BasicRateSet
@@ -267,7 +267,7 @@ bool card_set_phy_parameter(struct vnt_private *priv, u8 bb_type)
267267

268268
priv->packet_type = card_get_pkt_type(priv);
269269

270-
CARDvSetRSPINF(priv, bb_type);
270+
card_set_rspinf(priv, bb_type);
271271

272272
return true;
273273
}
@@ -536,7 +536,7 @@ static unsigned short CARDwGetOFDMControlRate(struct vnt_private *priv,
536536
*
537537
* Return Value: None.
538538
*/
539-
void CARDvSetRSPINF(struct vnt_private *priv, u8 bb_type)
539+
void card_set_rspinf(struct vnt_private *priv, u8 bb_type)
540540
{
541541
union vnt_phy_field_swap phy;
542542
unsigned char byTxRate, byRsvTime; /* For OFDM */

drivers/staging/vt6655/card.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
struct vnt_private;
4141

42-
void CARDvSetRSPINF(struct vnt_private *priv, u8 bb_type);
42+
void card_set_rspinf(struct vnt_private *priv, u8 bb_type);
4343
void CARDvUpdateBasicTopRate(struct vnt_private *priv);
4444
bool CARDbIsOFDMinBasicRate(struct vnt_private *priv);
4545
void CARDvSetFirstNextTBTT(struct vnt_private *priv,

0 commit comments

Comments
 (0)