staging: rtl8712: add blank lines after declarations
authorZhansaya Bagdauletkyzy <zhansayabagdaulet@gmail.com>
Sun, 4 Apr 2021 20:51:52 +0000 (02:51 +0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Apr 2021 10:12:26 +0000 (12:12 +0200)
Add blank lines after function/struct/union/enum declarations to adhere to
Linux kernel coding style.
Reported by checkpatch.

Signed-off-by: Zhansaya Bagdauletkyzy <zhansayabagdaulet@gmail.com>
Link: https://lore.kernel.org/r/ffe2ab70ef3cb73d3d6dd19d88804af7ecb568a2.1617568354.git.zhansayabagdaulet@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/rtl8712_recv.h
drivers/staging/rtl8712/rtl871x_cmd.h
drivers/staging/rtl8712/rtl871x_event.h
drivers/staging/rtl8712/rtl871x_mp.c
drivers/staging/rtl8712/rtl871x_mp.h
drivers/staging/rtl8712/rtl871x_mp_ioctl.c
drivers/staging/rtl8712/rtl871x_recv.c

index 3e385b2..c70b37f 100644 (file)
@@ -66,6 +66,7 @@ struct phy_stat {
        __le32 phydw6;
        __le32 phydw7;
 };
+
 #define PHY_STAT_GAIN_TRSW_SHT 0
 #define PHY_STAT_PWDB_ALL_SHT 4
 #define PHY_STAT_CFOSHO_SHT 5
index 254182a..bf6f0c6 100644 (file)
@@ -333,6 +333,7 @@ struct getdatarate_parm {
        u32 rsvd;
 
 };
+
 struct getdatarate_rsp {
        u8 datarates[NumRates];
 };
@@ -377,6 +378,7 @@ struct      getphy_rsp {
 struct readBB_parm {
        u8      offset;
 };
+
 struct readBB_rsp {
        u8      value;
 };
@@ -384,6 +386,7 @@ struct readBB_rsp {
 struct readTSSI_parm {
        u8      offset;
 };
+
 struct readTSSI_rsp {
        u8      value;
 };
@@ -400,6 +403,7 @@ struct writePTM_parm {
 struct readRF_parm {
        u8      offset;
 };
+
 struct readRF_rsp {
        u32     value;
 };
@@ -498,6 +502,7 @@ struct settxagctbl_parm {
 struct gettxagctbl_parm {
        u32 rsvd;
 };
+
 struct gettxagctbl_rsp {
        u32     txagc[MAX_RATES_LENGTH];
 };
@@ -513,6 +518,7 @@ struct setssup_parm {
 struct getssup_parm    {
        u32 rsvd;
 };
+
 struct getssup_rsp     {
        u8      ss_ForceUp[MAX_RATES_LENGTH];
 };
@@ -524,6 +530,7 @@ struct setssdlevel_parm     {
 struct getssdlevel_parm        {
        u32 rsvd;
 };
+
 struct getssdlevel_rsp {
        u8      ss_DLevel[MAX_RATES_LENGTH];
 };
@@ -535,6 +542,7 @@ struct setssulevel_parm     {
 struct getssulevel_parm        {
        u32 rsvd;
 };
+
 struct getssulevel_rsp {
        u8      ss_ULevel[MAX_RATES_LENGTH];
 };
@@ -585,6 +593,7 @@ struct setratable_parm {
 struct getratable_parm {
        uint rsvd;
 };
+
 struct getratable_rsp {
        u8 ss_ForceUp[NumRates];
        u8 ss_ULevel[NumRates];
@@ -621,6 +630,7 @@ struct getbcnokcnt_rsp {
 struct getbcnerrcnt_parm {
        unsigned int rsvd;
 };
+
 struct getbcnerrcnt_rsp {
        unsigned long bcnerrcnt;
 };
index d9a5476..759a2d2 100644 (file)
@@ -102,6 +102,7 @@ struct ADDBA_Req_Report_parm {
        unsigned short StartSeqNum;
        unsigned char tid;
 };
+
 #include "rtl8712_event.h"
 
 #endif /* _WLANEVENT_H_ */
index 2402025..099c512 100644 (file)
@@ -387,6 +387,7 @@ void r8712_SwitchBandwidth(struct _adapter *pAdapter)
                break;
        }
 }
+
 /*------------------------------Define structure----------------------------*/
 struct R_ANTENNA_SELECT_OFDM {
        u32     r_tx_antenna:4;
index e79a676..0a60b1e 100644 (file)
@@ -121,6 +121,7 @@ struct bb_reg_param {
        u32 offset;
        u32 value;
 };
+
 /* ======================================================================= */
 
 #define LOWER  true
index f906d3f..31414a9 100644 (file)
@@ -681,6 +681,7 @@ uint oid_rt_pro_read_efuse_hdl(struct oid_par_priv *poid_par_priv)
        *poid_par_priv->bytes_rw = poid_par_priv->information_buf_len;
        return status;
 }
+
 /*------------------------------------------------------------------------*/
 uint oid_rt_pro_write_efuse_hdl(struct oid_par_priv *poid_par_priv)
 {
@@ -708,6 +709,7 @@ uint oid_rt_pro_write_efuse_hdl(struct oid_par_priv *poid_par_priv)
                status = RNDIS_STATUS_FAILURE;
        return status;
 }
+
 /*----------------------------------------------------------------------*/
 
 uint oid_rt_get_efuse_current_size_hdl(struct oid_par_priv *poid_par_priv)
@@ -849,6 +851,7 @@ unsigned int mp_ioctl_xmit_packet_hdl(struct oid_par_priv *poid_par_priv)
 {
        return _SUCCESS;
 }
+
 /*-------------------------------------------------------------------------*/
 uint oid_rt_set_power_down_hdl(struct oid_par_priv *poid_par_priv)
 {
index efd783e..17d4a26 100644 (file)
@@ -219,6 +219,7 @@ union recv_frame *r8712_decryptor(struct _adapter *padapter,
        }
        return return_packet;
 }
+
 /*###set the security information in the recv_frame */
 union recv_frame *r8712_portctrl(struct _adapter *adapter,
                                 union recv_frame *precv_frame)