staging: vt6655: Type encoding info dropped from function name "CARDbSetBeaconPeriod"
authorPavan Bobba <opensource206@gmail.com>
Tue, 31 Oct 2023 05:34:27 +0000 (11:04 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Nov 2023 12:47:41 +0000 (12:47 +0000)
function name "CARDbSetBeaconPeriod" 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>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/8d4c10ac86f80bb46d5cb1f18079276c3326e5dd.1698730318.git.opensource206@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/card.c
drivers/staging/vt6655/card.h
drivers/staging/vt6655/device_main.c
drivers/staging/vt6655/rxtx.c

index 1edf65e2adcf97923b688592215094c34941ad43..bfd02a869d646cf1558e606a4838418ab0767412 100644 (file)
@@ -320,7 +320,7 @@ bool card_update_tsf(struct vnt_private *priv, unsigned char rx_rate,
  *
  * Return Value: true if succeed; otherwise false
  */
-bool CARDbSetBeaconPeriod(struct vnt_private *priv,
+bool card_set_beacon_period(struct vnt_private *priv,
                          unsigned short wBeaconInterval)
 {
        u64 qwNextTBTT;
index df1b9a7c1f21269a351b6db680bb6a85dc03248c..f84e4190a2ac4d88adf669cc81153f4669454114 100644 (file)
@@ -56,7 +56,7 @@ void CARDbRadioPowerOff(struct vnt_private *priv);
 bool card_set_phy_parameter(struct vnt_private *priv, u8 bb_type);
 bool card_update_tsf(struct vnt_private *priv, unsigned char rx_rate,
                    u64 bss_timestamp);
-bool CARDbSetBeaconPeriod(struct vnt_private *priv,
+bool card_set_beacon_period(struct vnt_private *priv,
                          unsigned short wBeaconInterval);
 
 #endif /* __CARD_H__ */
index 7d297526e653967a659b854cc73b110b185e44d5..2e2a8da571ab07d1e1cf7a53fd97712c8ab4e9df 100644 (file)
@@ -1537,7 +1537,7 @@ static void vnt_bss_info_changed(struct ieee80211_hw *hw,
                        card_update_tsf(priv, conf->beacon_rate->hw_value,
                                       conf->sync_tsf);
 
-                       CARDbSetBeaconPeriod(priv, conf->beacon_int);
+                       card_set_beacon_period(priv, conf->beacon_int);
 
                        CARDvSetFirstNextTBTT(priv, conf->beacon_int);
                } else {
index 522d34ca9b0ff54921521ace43cfd0d76c280410..5e5ed582c35e3918d3e066ff7676e7424cf63416 100644 (file)
@@ -1456,7 +1456,7 @@ int vnt_beacon_enable(struct vnt_private *priv, struct ieee80211_vif *vif,
 
        CARDvSetFirstNextTBTT(priv, conf->beacon_int);
 
-       CARDbSetBeaconPeriod(priv, conf->beacon_int);
+       card_set_beacon_period(priv, conf->beacon_int);
 
        return vnt_beacon_make(priv, vif);
 }