Staging: rtl8723bs: fix spaces in odm_RegConfig8723B.c
authorMarco Cesati <marcocesati@gmail.com>
Mon, 15 Mar 2021 17:05:52 +0000 (18:05 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Mar 2021 11:23:16 +0000 (12:23 +0100)
This commit fixes the following checkpatch.pl errors:

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #11: FILE: ./hal/odm_RegConfig8723B.c:11:
    + struct DM_ODM_T * pDM_Odm,

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #109: FILE: ./hal/odm_RegConfig8723B.c:109:
    +void odm_ConfigRF_RadioA_8723B(struct DM_ODM_T * pDM_Odm, u32 Addr, u32 Data)

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #134: FILE: ./hal/odm_RegConfig8723B.c:134:
    +void odm_ConfigMAC_8723B(struct DM_ODM_T * pDM_Odm, u32 Addr, u8 Data)

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #150: FILE: ./hal/odm_RegConfig8723B.c:150:
    + struct DM_ODM_T * pDM_Odm,

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #173: FILE: ./hal/odm_RegConfig8723B.c:173:
    + struct DM_ODM_T * pDM_Odm,

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #201: FILE: ./hal/odm_RegConfig8723B.c:201:
    + struct DM_ODM_T * pDM_Odm,

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #229: FILE: ./hal/odm_RegConfig8723B.c:229:
    + struct DM_ODM_T * pDM_Odm,

Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Marco Cesati <marcocesati@gmail.com>
Link: https://lore.kernel.org/r/20210315170618.2566-32-marcocesati@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c

index 84b77a5c2a44fe76659401e7d97ccd113f6ec88e..0fc5abe6ae23bc6a83d2dd0e5854ce25047d4989 100644 (file)
@@ -8,7 +8,7 @@
 #include "odm_precomp.h"
 
 void odm_ConfigRFReg_8723B(
-       struct DM_ODM_T * pDM_Odm,
+       struct DM_ODM_T *pDM_Odm,
        u32 Addr,
        u32 Data,
        enum ODM_RF_RADIO_PATH_E RF_PATH,
@@ -106,7 +106,7 @@ void odm_ConfigRFReg_8723B(
 }
 
 
-void odm_ConfigRF_RadioA_8723B(struct DM_ODM_T * pDM_Odm, u32 Addr, u32 Data)
+void odm_ConfigRF_RadioA_8723B(struct DM_ODM_T *pDM_Odm, u32 Addr, u32 Data)
 {
        u32  content = 0x1000; /*  RF_Content: radioa_txt */
        u32 maskforPhySet = (u32)(content&0xE000);
@@ -131,7 +131,7 @@ void odm_ConfigRF_RadioA_8723B(struct DM_ODM_T * pDM_Odm, u32 Addr, u32 Data)
        );
 }
 
-void odm_ConfigMAC_8723B(struct DM_ODM_T * pDM_Odm, u32 Addr, u8 Data)
+void odm_ConfigMAC_8723B(struct DM_ODM_T *pDM_Odm, u32 Addr, u8 Data)
 {
        rtw_write8(pDM_Odm->Adapter, Addr, Data);
        ODM_RT_TRACE(
@@ -147,7 +147,7 @@ void odm_ConfigMAC_8723B(struct DM_ODM_T * pDM_Odm, u32 Addr, u8 Data)
 }
 
 void odm_ConfigBB_AGC_8723B(
-       struct DM_ODM_T * pDM_Odm,
+       struct DM_ODM_T *pDM_Odm,
        u32 Addr,
        u32 Bitmask,
        u32 Data
@@ -170,7 +170,7 @@ void odm_ConfigBB_AGC_8723B(
 }
 
 void odm_ConfigBB_PHY_REG_PG_8723B(
-       struct DM_ODM_T * pDM_Odm,
+       struct DM_ODM_T *pDM_Odm,
        u32 Band,
        u32 RfPath,
        u32 TxNum,
@@ -198,7 +198,7 @@ void odm_ConfigBB_PHY_REG_PG_8723B(
 }
 
 void odm_ConfigBB_PHY_8723B(
-       struct DM_ODM_T * pDM_Odm,
+       struct DM_ODM_T *pDM_Odm,
        u32 Addr,
        u32 Bitmask,
        u32 Data
@@ -226,7 +226,7 @@ void odm_ConfigBB_PHY_8723B(
 }
 
 void odm_ConfigBB_TXPWR_LMT_8723B(
-       struct DM_ODM_T * pDM_Odm,
+       struct DM_ODM_T *pDM_Odm,
        u8 *Regulation,
        u8 *Band,
        u8 *Bandwidth,