staging: vt6655: Fix lines ending with parentheses
authorCristiane Naves <cristianenavescardoso09@gmail.com>
Tue, 29 Oct 2019 21:09:17 +0000 (18:09 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Oct 2019 09:38:48 +0000 (10:38 +0100)
Fix lines ending with parentheses. Issue found by checkpatch.

Signed-off-by: Cristiane Naves <cristianenavescardoso09@gmail.com>
Link: https://lore.kernel.org/r/20191029210917.GA14956@cristiane-Inspiron-5420
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/card.c

index eba4ee0..e65c982 100644 (file)
@@ -79,14 +79,10 @@ static void s_vCalculateOFDMRParameter(unsigned char byRate, u8 bb_type,
  *
  * Return Value: none
  */
-static
-void
-s_vCalculateOFDMRParameter(
-       unsigned char byRate,
-       u8 bb_type,
-       unsigned char *pbyTxRate,
-       unsigned char *pbyRsvTime
-)
+static void s_vCalculateOFDMRParameter(unsigned char byRate,
+                                      u8 bb_type,
+                                      unsigned char *pbyTxRate,
+                                      unsigned char *pbyRsvTime)
 {
        switch (byRate) {
        case RATE_6M:
@@ -736,8 +732,7 @@ void CARDvSetRSPINF(struct vnt_private *priv, u8 bb_type)
        VNSvOutPortW(priv->PortOffset + MAC_REG_RSPINF_A_24,
                     MAKEWORD(byTxRate, byRsvTime));
        /* RSPINF_a_36 */
-       s_vCalculateOFDMRParameter(CARDwGetOFDMControlRate(
-                                                          (void *)priv,
+       s_vCalculateOFDMRParameter(CARDwGetOFDMControlRate((void *)priv,
                                                           RATE_36M),
                                   bb_type,
                                   &byTxRate,
@@ -745,8 +740,7 @@ void CARDvSetRSPINF(struct vnt_private *priv, u8 bb_type)
        VNSvOutPortW(priv->PortOffset + MAC_REG_RSPINF_A_36,
                     MAKEWORD(byTxRate, byRsvTime));
        /* RSPINF_a_48 */
-       s_vCalculateOFDMRParameter(CARDwGetOFDMControlRate(
-                                                          (void *)priv,
+       s_vCalculateOFDMRParameter(CARDwGetOFDMControlRate((void *)priv,
                                                           RATE_48M),
                                   bb_type,
                                   &byTxRate,
@@ -754,8 +748,7 @@ void CARDvSetRSPINF(struct vnt_private *priv, u8 bb_type)
        VNSvOutPortW(priv->PortOffset + MAC_REG_RSPINF_A_48,
                     MAKEWORD(byTxRate, byRsvTime));
        /* RSPINF_a_54 */
-       s_vCalculateOFDMRParameter(CARDwGetOFDMControlRate(
-                                                          (void *)priv,
+       s_vCalculateOFDMRParameter(CARDwGetOFDMControlRate((void *)priv,
                                                           RATE_54M),
                                   bb_type,
                                   &byTxRate,
@@ -763,8 +756,7 @@ void CARDvSetRSPINF(struct vnt_private *priv, u8 bb_type)
        VNSvOutPortW(priv->PortOffset + MAC_REG_RSPINF_A_54,
                     MAKEWORD(byTxRate, byRsvTime));
        /* RSPINF_a_72 */
-       s_vCalculateOFDMRParameter(CARDwGetOFDMControlRate(
-                                                          (void *)priv,
+       s_vCalculateOFDMRParameter(CARDwGetOFDMControlRate((void *)priv,
                                                           RATE_54M),
                                   bb_type,
                                   &byTxRate,