Skip to content

Commit

Permalink
Staging: rtl8723bs: fix spaces in hal_com_phycfg.c
Browse files Browse the repository at this point in the history
This commit fixes the following checkpatch.pl errors:

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    torvalds#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"
    torvalds#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>
  • Loading branch information
Marco Cesati authored and gregkh committed Mar 16, 2021
1 parent a2416c4 commit d0f08b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/staging/rtl8723bs/hal/hal_com_phycfg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit d0f08b4

Please sign in to comment.