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

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #1371: FILE: ./hal/odm.h:1371:
    +void ODM_TXPowerTrackingCheck(struct DM_ODM_T * pDM_Odm);

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #1374: FILE: ./hal/odm.h:1374:
    + struct DM_ODM_T * pDM_Odm,

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #1382: FILE: ./hal/odm.h:1382:
    + struct DM_ODM_T * pDM_Odm,

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #1388: FILE: ./hal/odm.h:1388:
    + struct DM_ODM_T * pDM_Odm,

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #1398: FILE: ./hal/odm.h:1398:
    +void odm_TXPowerTrackingInit(struct DM_ODM_T * pDM_Odm);

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #1400: FILE: ./hal/odm.h:1400:
    +void ODM_DMInit(struct DM_ODM_T * pDM_Odm);

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #1402: FILE: ./hal/odm.h:1402:
    +void ODM_DMWatchdog(struct DM_ODM_T * pDM_Odm); /*  For common use in the future */

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #1404: FILE: ./hal/odm.h:1404:
    +void ODM_CmnInfoInit(struct DM_ODM_T * pDM_Odm, enum ODM_CMNINFO_E CmnInfo, u32 Value);

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #1406: FILE: ./hal/odm.h:1406:
    +void ODM_CmnInfoHook(struct DM_ODM_T * pDM_Odm, enum ODM_CMNINFO_E CmnInfo, void *pValue);

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #1409: FILE: ./hal/odm.h:1409:
    + struct DM_ODM_T * pDM_Odm,

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #1415: FILE: ./hal/odm.h:1415:
    +void ODM_CmnInfoUpdate(struct DM_ODM_T * pDM_Odm, u32 CmnInfo, u64 Value);

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #1417: FILE: ./hal/odm.h:1417:
    +void ODM_InitAllTimers(struct DM_ODM_T * pDM_Odm);

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #1419: FILE: ./hal/odm.h:1419:
    +void ODM_CancelAllTimers(struct DM_ODM_T * pDM_Odm);

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #1421: FILE: ./hal/odm.h:1421:
    +void ODM_ReleaseAllTimers(struct DM_ODM_T * pDM_Odm);

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #1424: FILE: ./hal/odm.h:1424:
    + struct DM_ODM_T * pDM_Odm,

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #1430: FILE: ./hal/odm.h:1430:
    +void ODM_DynamicARFBSelect(struct DM_ODM_T * pDM_Odm, u8 rate, bool Collision_State);

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

index 8b8fe2c406f53be4b17d8658a1526e00fef59346..8f457b0ea70db870f1d197e8c46514b186569554 100644 (file)
@@ -1368,10 +1368,10 @@ extern  u32 TxScalingTable_Jaguar[TXSCALE_TABLE_SIZE];
 /* Remove BB power saving by Yuchen */
 
 #define dm_CheckTXPowerTracking ODM_TXPowerTrackingCheck
-void ODM_TXPowerTrackingCheck(struct DM_ODM_T * pDM_Odm);
+void ODM_TXPowerTrackingCheck(struct DM_ODM_T *pDM_Odm);
 
 bool ODM_RAStateCheck(
-       struct DM_ODM_T * pDM_Odm,
+       struct DM_ODM_T *pDM_Odm,
        s32     RSSI,
        bool bForceUpdate,
        u8 *pRATRState
@@ -1379,13 +1379,13 @@ bool ODM_RAStateCheck(
 
 #define dm_SWAW_RSSI_Check     ODM_SwAntDivChkPerPktRssi
 void ODM_SwAntDivChkPerPktRssi(
-       struct DM_ODM_T * pDM_Odm,
+       struct DM_ODM_T *pDM_Odm,
        u8 StationID,
        struct odm_phy_info *pPhyInfo
 );
 
 u32 ODM_Get_Rate_Bitmap(
-       struct DM_ODM_T * pDM_Odm,
+       struct DM_ODM_T *pDM_Odm,
        u32 macid,
        u32 ra_mask,
        u8 rssi_level
@@ -1395,38 +1395,38 @@ u32 ODM_Get_Rate_Bitmap(
 BEAMFORMING_CAP Beamforming_GetEntryBeamCapByMacId(PMGNT_INFO pMgntInfo, u8 MacId);
 #endif
 
-void odm_TXPowerTrackingInit(struct DM_ODM_T * pDM_Odm);
+void odm_TXPowerTrackingInit(struct DM_ODM_T *pDM_Odm);
 
-void ODM_DMInit(struct DM_ODM_T * pDM_Odm);
+void ODM_DMInit(struct DM_ODM_T *pDM_Odm);
 
-void ODM_DMWatchdog(struct DM_ODM_T * pDM_Odm); /*  For common use in the future */
+void ODM_DMWatchdog(struct DM_ODM_T *pDM_Odm); /*  For common use in the future */
 
-void ODM_CmnInfoInit(struct DM_ODM_T * pDM_Odm, enum ODM_CMNINFO_E CmnInfo, u32 Value);
+void ODM_CmnInfoInit(struct DM_ODM_T *pDM_Odm, enum ODM_CMNINFO_E CmnInfo, u32 Value);
 
-void ODM_CmnInfoHook(struct DM_ODM_T * pDM_Odm, enum ODM_CMNINFO_E CmnInfo, void *pValue);
+void ODM_CmnInfoHook(struct DM_ODM_T *pDM_Odm, enum ODM_CMNINFO_E CmnInfo, void *pValue);
 
 void ODM_CmnInfoPtrArrayHook(
-       struct DM_ODM_T * pDM_Odm,
+       struct DM_ODM_T *pDM_Odm,
        enum ODM_CMNINFO_E CmnInfo,
        u16 Index,
        void *pValue
 );
 
-void ODM_CmnInfoUpdate(struct DM_ODM_T * pDM_Odm, u32 CmnInfo, u64 Value);
+void ODM_CmnInfoUpdate(struct DM_ODM_T *pDM_Odm, u32 CmnInfo, u64 Value);
 
-void ODM_InitAllTimers(struct DM_ODM_T * pDM_Odm);
+void ODM_InitAllTimers(struct DM_ODM_T *pDM_Odm);
 
-void ODM_CancelAllTimers(struct DM_ODM_T * pDM_Odm);
+void ODM_CancelAllTimers(struct DM_ODM_T *pDM_Odm);
 
-void ODM_ReleaseAllTimers(struct DM_ODM_T * pDM_Odm);
+void ODM_ReleaseAllTimers(struct DM_ODM_T *pDM_Odm);
 
 void ODM_AntselStatistics_88C(
-       struct DM_ODM_T * pDM_Odm,
+       struct DM_ODM_T *pDM_Odm,
        u8 MacId,
        u32 PWDBAll,
        bool isCCKrate
 );
 
-void ODM_DynamicARFBSelect(struct DM_ODM_T * pDM_Odm, u8 rate, bool Collision_State);
+void ODM_DynamicARFBSelect(struct DM_ODM_T *pDM_Odm, u8 rate, bool Collision_State);
 
 #endif