Skip to content

Commit 4922f5d

Browse files
opensource206gregkh
authored andcommitted
staging: vt6655: Type encoding info dropped from function name "CARDbSetPhyParameter"
function name "CARDbSetPhyParameter" 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/66beb307ac7983b2aa82fa81f6f2362353209859.1698396278.git.opensource206@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent cb1fe71 commit 4922f5d

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

drivers/staging/vt6655/card.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ static void calculate_ofdmr_parameter(unsigned char rate,
182182
*
183183
* Return Value: None.
184184
*/
185-
bool CARDbSetPhyParameter(struct vnt_private *priv, u8 bb_type)
185+
bool card_set_phy_parameter(struct vnt_private *priv, u8 bb_type)
186186
{
187187
unsigned char cw_max_min = 0;
188188
unsigned char slot = 0;

drivers/staging/vt6655/card.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ unsigned char CARDbyGetPktType(struct vnt_private *priv);
5353
void CARDvSafeResetTx(struct vnt_private *priv);
5454
void CARDvSafeResetRx(struct vnt_private *priv);
5555
void CARDbRadioPowerOff(struct vnt_private *priv);
56-
bool CARDbSetPhyParameter(struct vnt_private *priv, u8 bb_type);
56+
bool card_set_phy_parameter(struct vnt_private *priv, u8 bb_type);
5757
bool CARDbUpdateTSF(struct vnt_private *priv, unsigned char byRxRate,
5858
u64 qwBSSTimestamp);
5959
bool CARDbSetBeaconPeriod(struct vnt_private *priv,

drivers/staging/vt6655/device_main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1442,7 +1442,7 @@ static int vnt_config(struct ieee80211_hw *hw, u32 changed)
14421442
if (priv->byBBType != bb_type) {
14431443
priv->byBBType = bb_type;
14441444

1445-
CARDbSetPhyParameter(priv, priv->byBBType);
1445+
card_set_phy_parameter(priv, priv->byBBType);
14461446
}
14471447
}
14481448

@@ -1509,7 +1509,7 @@ static void vnt_bss_info_changed(struct ieee80211_hw *hw,
15091509
else
15101510
priv->short_slot_time = false;
15111511

1512-
CARDbSetPhyParameter(priv, priv->byBBType);
1512+
card_set_phy_parameter(priv, priv->byBBType);
15131513
bb_set_vga_gain_offset(priv, priv->bbvga[0]);
15141514
}
15151515

0 commit comments

Comments
 (0)