Skip to content

Commit

Permalink
Staging: rtl8723bs: fix spaces in rtl8723b_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#597: FILE: ./hal/rtl8723b_phycfg.c:597:
    +	struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    torvalds#598: FILE: ./hal/rtl8723b_phycfg.c:598:
    +	struct FAT_T * pDM_FatTable = &pDM_Odm->DM_FatTable;

Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Marco Cesati <marcocesati@gmail.com>
Link: https://lore.kernel.org/r/20210315170618.2566-38-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 3ecd73e commit 6980b02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c
Original file line number Diff line number Diff line change
Expand Up @@ -594,8 +594,8 @@ u8 PHY_GetTxPowerIndex(
void PHY_SetTxPowerLevel8723B(struct adapter *Adapter, u8 Channel)
{
struct hal_com_data *pHalData = GET_HAL_DATA(Adapter);
struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;
struct FAT_T * pDM_FatTable = &pDM_Odm->DM_FatTable;
struct DM_ODM_T *pDM_Odm = &pHalData->odmpriv;
struct FAT_T *pDM_FatTable = &pDM_Odm->DM_FatTable;
u8 RFPath = ODM_RF_PATH_A;

if (pHalData->AntDivCfg) {/* antenna diversity Enable */
Expand Down

0 comments on commit 6980b02

Please sign in to comment.