Staging: rtl8723bs: fix spaces in hal_com_phycfg.c
authorMarco Cesati <marcocesati@gmail.com>
Mon, 15 Mar 2021 17:05:40 +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"
    #273: FILE: ./hal/hal_com_phycfg.c:273:
    + struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #798: FILE: ./hal/hal_com_phycfg.c:798:
    + struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #1191: FILE: ./hal/hal_com_phycfg.c:1191:
    + struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;

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

index 2bf4689..7405f92 100644 (file)
@@ -270,7 +270,7 @@ u8 PHY_GetRateSectionIndexOfTxPowerByRate(
 )
 {
        struct hal_com_data     *pHalData = GET_HAL_DATA(padapter);
-       struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;
+       struct DM_ODM_T *pDM_Odm = &pHalData->odmpriv;
        u8      index = 0;
 
        if (pDM_Odm->PhyRegPgVersion == 0) {
@@ -795,7 +795,7 @@ void PHY_StoreTxPowerByRate(
 )
 {
        struct hal_com_data     *pHalData = GET_HAL_DATA(padapter);
-       struct DM_ODM_T *               pDM_Odm = &pHalData->odmpriv;
+       struct DM_ODM_T *pDM_Odm = &pHalData->odmpriv;
 
        if (pDM_Odm->PhyRegPgVersion > 0)
                PHY_StoreTxPowerByRateNew(padapter, Band, RfPath, TxNum, RegAddr, BitMask, Data);
@@ -1188,7 +1188,7 @@ u8 PHY_GetTxPowerIndexBase(
 s8 PHY_GetTxPowerTrackingOffset(struct adapter *padapter, u8 RFPath, u8 Rate)
 {
        struct hal_com_data *pHalData = GET_HAL_DATA(padapter);
-       struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;
+       struct DM_ODM_T *pDM_Odm = &pHalData->odmpriv;
        s8 offset = 0;
 
        if (pDM_Odm->RFCalibrateInfo.TxPowerTrackControl  == false)