Skip to content

Commit

Permalink
Staging: rtl8723bs: fix spaces in HalHWImg8723B_BB.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#12: FILE: ./hal/HalHWImg8723B_BB.c:12:
    +	struct DM_ODM_T * pDM_Odm, const u32 Condition1, const u32 Condition2

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    torvalds#115: FILE: ./hal/HalHWImg8723B_BB.c:115:
    +	struct DM_ODM_T * pDM_Odm, const u32  Condition1, const u32 Condition2

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    torvalds#260: FILE: ./hal/HalHWImg8723B_BB.c:260:
    +void ODM_ReadAndConfig_MP_8723B_AGC_TAB(struct DM_ODM_T * pDM_Odm)

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    torvalds#529: FILE: ./hal/HalHWImg8723B_BB.c:529:
    +void ODM_ReadAndConfig_MP_8723B_PHY_REG(struct DM_ODM_T * pDM_Odm)

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    torvalds#609: FILE: ./hal/HalHWImg8723B_BB.c:609:
    +void ODM_ReadAndConfig_MP_8723B_PHY_REG_PG(struct DM_ODM_T * pDM_Odm)

Reviewed-by: Dan Carpenter <[email protected]>
Signed-off-by: Marco Cesati <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
Marco Cesati authored and gregkh committed Mar 16, 2021
1 parent 044e893 commit 1e7330f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "odm_precomp.h"

static bool CheckPositive(
struct DM_ODM_T * pDM_Odm, const u32 Condition1, const u32 Condition2
struct DM_ODM_T *pDM_Odm, const u32 Condition1, const u32 Condition2
)
{
u8 _BoardType =
Expand Down Expand Up @@ -112,7 +112,7 @@ static bool CheckPositive(
}

static bool CheckNegative(
struct DM_ODM_T * pDM_Odm, const u32 Condition1, const u32 Condition2
struct DM_ODM_T *pDM_Odm, const u32 Condition1, const u32 Condition2
)
{
return true;
Expand Down Expand Up @@ -257,7 +257,7 @@ static u32 Array_MP_8723B_AGC_TAB[] = {

};

void ODM_ReadAndConfig_MP_8723B_AGC_TAB(struct DM_ODM_T * pDM_Odm)
void ODM_ReadAndConfig_MP_8723B_AGC_TAB(struct DM_ODM_T *pDM_Odm)
{
u32 i = 0;
u32 ArrayLen = ARRAY_SIZE(Array_MP_8723B_AGC_TAB);
Expand Down Expand Up @@ -526,7 +526,7 @@ static u32 Array_MP_8723B_PHY_REG[] = {

};

void ODM_ReadAndConfig_MP_8723B_PHY_REG(struct DM_ODM_T * pDM_Odm)
void ODM_ReadAndConfig_MP_8723B_PHY_REG(struct DM_ODM_T *pDM_Odm)
{
u32 i = 0;
u32 ArrayLen = ARRAY_SIZE(Array_MP_8723B_PHY_REG);
Expand Down Expand Up @@ -606,7 +606,7 @@ static u32 Array_MP_8723B_PHY_REG_PG[] = {
0, 0, 0, 0x00000e14, 0xffffffff, 0x26303436
};

void ODM_ReadAndConfig_MP_8723B_PHY_REG_PG(struct DM_ODM_T * pDM_Odm)
void ODM_ReadAndConfig_MP_8723B_PHY_REG_PG(struct DM_ODM_T *pDM_Odm)
{
u32 i = 0;
u32 *Array = Array_MP_8723B_PHY_REG_PG;
Expand Down

0 comments on commit 1e7330f

Please sign in to comment.