Skip to content

Commit

Permalink
Staging: rtl8723bs: fix spaces in odm_RegConfig8723B.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#11: FILE: ./hal/odm_RegConfig8723B.c:11:
    +	struct DM_ODM_T * pDM_Odm,

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    torvalds#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"
    torvalds#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"
    torvalds#150: FILE: ./hal/odm_RegConfig8723B.c:150:
    +	struct DM_ODM_T * pDM_Odm,

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

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

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

Signed-off-by: Marco Cesati <marcocesati@gmail.com>
  • Loading branch information
Marco Cesati authored and intel-lab-lkp committed Mar 15, 2021
1 parent 78c74cc commit ca02f59
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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);
Expand All @@ -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(
Expand All @@ -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
Expand All @@ -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,
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit ca02f59

Please sign in to comment.