staging: vt6655: Rename `RFvWriteWakeProgSyn` function
authorKarolina Drobnik <karolinadrobnik@gmail.com>
Mon, 15 Nov 2021 10:55:46 +0000 (10:55 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Nov 2021 12:55:32 +0000 (13:55 +0100)
To align with the kernel coding style, remove the type from
the function name and do not use CamelCase.

Fix issue detected by checkpatch.pl:
  CHECK: Avoid CamelCase: <RFvWriteWakeProgSyn>

Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Karolina Drobnik <karolinadrobnik@gmail.com>
Link: https://lore.kernel.org/r/29899f738b4f381a2b3f01fd0748e9b96f835239.1636729147.git.karolinadrobnik@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/channel.c
drivers/staging/vt6655/rf.c
drivers/staging/vt6655/rf.h

index b550a1a..e37c8e3 100644 (file)
@@ -189,7 +189,7 @@ bool set_channel(struct vnt_private *priv, struct ieee80211_channel *ch)
 
        /* Init Synthesizer Table */
        if (priv->bEnablePSMode)
-               RFvWriteWakeProgSyn(priv, priv->byRFType, ch->hw_value);
+               rf_write_wake_prog_syn(priv, priv->byRFType, ch->hw_value);
 
        bb_software_reset(priv);
 
index 5246ba2..569b430 100644 (file)
@@ -676,8 +676,8 @@ bool RFbSelectChannel(struct vnt_private *priv, unsigned char byRFType,
  * Return Value: None.
  *
  */
-bool RFvWriteWakeProgSyn(struct vnt_private *priv, unsigned char rf_type,
-                        u16 channel)
+bool rf_write_wake_prog_syn(struct vnt_private *priv, unsigned char rf_type,
+                           u16 channel)
 {
        void __iomem *iobase = priv->port_offset;
        int i;
index 0939937..9fef818 100644 (file)
@@ -60,7 +60,7 @@
 bool IFRFbWriteEmbedded(struct vnt_private *priv, unsigned long dwData);
 bool RFbSelectChannel(struct vnt_private *priv, unsigned char byRFType, u16 byChannel);
 bool RFbInit(struct vnt_private *priv);
-bool RFvWriteWakeProgSyn(struct vnt_private *priv, unsigned char rf_type, u16 channel);
+bool rf_write_wake_prog_syn(struct vnt_private *priv, unsigned char rf_type, u16 channel);
 bool RFbSetPower(struct vnt_private *priv, unsigned int rate, u16 uCH);
 bool RFbRawSetPower(struct vnt_private *priv, unsigned char byPwr,
                    unsigned int rate);