Staging: rtl8723bs: fix in odm_DynamicBBPowerSaving.c
authorMarco Cesati <marcocesati@gmail.com>
Mon, 15 Mar 2021 17:05:45 +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"
    #12: FILE: ./hal/odm_DynamicBBPowerSaving.c:12:
    + struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #25: FILE: ./hal/odm_DynamicBBPowerSaving.c:25:
    + struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;

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

index 2cc9518..522f87f 100644 (file)
@@ -9,7 +9,7 @@
 
 void odm_DynamicBBPowerSavingInit(void *pDM_VOID)
 {
-       struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
+       struct DM_ODM_T *pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
        struct PS_T *pDM_PSTable = &pDM_Odm->DM_PSTable;
 
        pDM_PSTable->PreCCAState = CCA_MAX;
@@ -22,7 +22,7 @@ void odm_DynamicBBPowerSavingInit(void *pDM_VOID)
 
 void ODM_RF_Saving(void *pDM_VOID, u8 bForceInNormal)
 {
-       struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
+       struct DM_ODM_T *pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
        struct PS_T *pDM_PSTable = &pDM_Odm->DM_PSTable;
        u8 Rssi_Up_bound = 30;
        u8 Rssi_Low_bound = 25;