Commit 4922f5d1 authored by Pavan Bobba's avatar Pavan Bobba Committed by Greg Kroah-Hartman

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: default avatarPavan Bobba <opensource206@gmail.com>
Link: https://lore.kernel.org/r/66beb307ac7983b2aa82fa81f6f2362353209859.1698396278.git.opensource206@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent cb1fe713
...@@ -182,7 +182,7 @@ static void calculate_ofdmr_parameter(unsigned char rate, ...@@ -182,7 +182,7 @@ static void calculate_ofdmr_parameter(unsigned char rate,
* *
* Return Value: None. * Return Value: None.
*/ */
bool CARDbSetPhyParameter(struct vnt_private *priv, u8 bb_type) bool card_set_phy_parameter(struct vnt_private *priv, u8 bb_type)
{ {
unsigned char cw_max_min = 0; unsigned char cw_max_min = 0;
unsigned char slot = 0; unsigned char slot = 0;
......
...@@ -53,7 +53,7 @@ unsigned char CARDbyGetPktType(struct vnt_private *priv); ...@@ -53,7 +53,7 @@ unsigned char CARDbyGetPktType(struct vnt_private *priv);
void CARDvSafeResetTx(struct vnt_private *priv); void CARDvSafeResetTx(struct vnt_private *priv);
void CARDvSafeResetRx(struct vnt_private *priv); void CARDvSafeResetRx(struct vnt_private *priv);
void CARDbRadioPowerOff(struct vnt_private *priv); void CARDbRadioPowerOff(struct vnt_private *priv);
bool CARDbSetPhyParameter(struct vnt_private *priv, u8 bb_type); bool card_set_phy_parameter(struct vnt_private *priv, u8 bb_type);
bool CARDbUpdateTSF(struct vnt_private *priv, unsigned char byRxRate, bool CARDbUpdateTSF(struct vnt_private *priv, unsigned char byRxRate,
u64 qwBSSTimestamp); u64 qwBSSTimestamp);
bool CARDbSetBeaconPeriod(struct vnt_private *priv, bool CARDbSetBeaconPeriod(struct vnt_private *priv,
......
...@@ -1442,7 +1442,7 @@ static int vnt_config(struct ieee80211_hw *hw, u32 changed) ...@@ -1442,7 +1442,7 @@ static int vnt_config(struct ieee80211_hw *hw, u32 changed)
if (priv->byBBType != bb_type) { if (priv->byBBType != bb_type) {
priv->byBBType = bb_type; priv->byBBType = bb_type;
CARDbSetPhyParameter(priv, priv->byBBType); card_set_phy_parameter(priv, priv->byBBType);
} }
} }
...@@ -1509,7 +1509,7 @@ static void vnt_bss_info_changed(struct ieee80211_hw *hw, ...@@ -1509,7 +1509,7 @@ static void vnt_bss_info_changed(struct ieee80211_hw *hw,
else else
priv->short_slot_time = false; priv->short_slot_time = false;
CARDbSetPhyParameter(priv, priv->byBBType); card_set_phy_parameter(priv, priv->byBBType);
bb_set_vga_gain_offset(priv, priv->bbvga[0]); bb_set_vga_gain_offset(priv, priv->bbvga[0]);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment