Skip to content

Commit 3b9325d

Browse files
opensource206gregkh
authored andcommitted
staging: vt6655: Type encoding info dropped from function name "CARDbUpdateTSF"
function name "CARDbUpdateTSF" 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/926ec04bbfc69926cd1af92684fef392f2d6e04a.1698396278.git.opensource206@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent c97dbf1 commit 3b9325d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

drivers/staging/vt6655/card.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ bool card_set_phy_parameter(struct vnt_private *priv, u8 bb_type)
287287
*
288288
* Return Value: none
289289
*/
290-
bool CARDbUpdateTSF(struct vnt_private *priv, unsigned char byRxRate,
290+
bool card_update_tsf(struct vnt_private *priv, unsigned char byRxRate,
291291
u64 qwBSSTimestamp)
292292
{
293293
u64 local_tsf;

drivers/staging/vt6655/card.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ void CARDvSafeResetTx(struct vnt_private *priv);
5454
void CARDvSafeResetRx(struct vnt_private *priv);
5555
void CARDbRadioPowerOff(struct vnt_private *priv);
5656
bool card_set_phy_parameter(struct vnt_private *priv, u8 bb_type);
57-
bool CARDbUpdateTSF(struct vnt_private *priv, unsigned char byRxRate,
57+
bool card_update_tsf(struct vnt_private *priv, unsigned char byRxRate,
5858
u64 qwBSSTimestamp);
5959
bool CARDbSetBeaconPeriod(struct vnt_private *priv,
6060
unsigned short wBeaconInterval);

drivers/staging/vt6655/device_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1534,7 +1534,7 @@ static void vnt_bss_info_changed(struct ieee80211_hw *hw,
15341534
if (changed & (BSS_CHANGED_ASSOC | BSS_CHANGED_BEACON_INFO) &&
15351535
priv->op_mode != NL80211_IFTYPE_AP) {
15361536
if (vif->cfg.assoc && conf->beacon_rate) {
1537-
CARDbUpdateTSF(priv, conf->beacon_rate->hw_value,
1537+
card_update_tsf(priv, conf->beacon_rate->hw_value,
15381538
conf->sync_tsf);
15391539

15401540
CARDbSetBeaconPeriod(priv, conf->beacon_int);

0 commit comments

Comments
 (0)