Skip to content

Commit 86b895d

Browse files
Marco Cesatiintel-lab-lkp
Marco Cesati
authored andcommitted
Staging: rtl8723bs: fix spaces in hal_btcoex.c
This commit fixes the following checkpatch.pl errors: ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #70: FILE: ./hal/hal_btcoex.c:70: +static u8 halbtcoutsrc_IsBtCoexistAvailable(struct BTC_COEXIST * pBtCoexist) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#104: FILE: ./hal/hal_btcoex.c:104: +static void halbtcoutsrc_LeaveLps(struct BTC_COEXIST * pBtCoexist) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#117: FILE: ./hal/hal_btcoex.c:117: +static void halbtcoutsrc_EnterLps(struct BTC_COEXIST * pBtCoexist) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#130: FILE: ./hal/hal_btcoex.c:130: +static void halbtcoutsrc_NormalLps(struct BTC_COEXIST * pBtCoexist) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#152: FILE: ./hal/hal_btcoex.c:152: +static void halbtcoutsrc_LeaveLowPower(struct BTC_COEXIST * pBtCoexist) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#187: FILE: ./hal/hal_btcoex.c:187: +static void halbtcoutsrc_NormalLowPower(struct BTC_COEXIST * pBtCoexist) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#196: FILE: ./hal/hal_btcoex.c:196: +static void halbtcoutsrc_DisableLowPower(struct BTC_COEXIST * pBtCoexist, u8 bLowPwrDisable) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#205: FILE: ./hal/hal_btcoex.c:205: +static void halbtcoutsrc_AggregationCheck(struct BTC_COEXIST * pBtCoexist) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#283: FILE: ./hal/hal_btcoex.c:283: +static u32 halbtcoutsrc_GetWifiLinkStatus(struct BTC_COEXIST * pBtCoexist) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#311: FILE: ./hal/hal_btcoex.c:311: +static u32 halbtcoutsrc_GetBtPatchVer(struct BTC_COEXIST * pBtCoexist) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#342: FILE: ./hal/hal_btcoex.c:342: + struct BTC_COEXIST * pBtCoexist; ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#448: FILE: ./hal/hal_btcoex.c:448: + struct RT_LINK_DETECT_T * plinkinfo; ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#510: FILE: ./hal/hal_btcoex.c:510: + struct BTC_COEXIST * pBtCoexist; ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#645: FILE: ./hal/hal_btcoex.c:645: +static void halbtcoutsrc_DisplayFwPwrModeCmd(struct BTC_COEXIST * pBtCoexist) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#661: FILE: ./hal/hal_btcoex.c:661: + struct BTC_COEXIST * pBtCoexist; ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#673: FILE: ./hal/hal_btcoex.c:673: + struct BTC_COEXIST * pBtCoexist; ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#685: FILE: ./hal/hal_btcoex.c:685: + struct BTC_COEXIST * pBtCoexist; ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#697: FILE: ./hal/hal_btcoex.c:697: + struct BTC_COEXIST * pBtCoexist; ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#709: FILE: ./hal/hal_btcoex.c:709: + struct BTC_COEXIST * pBtCoexist; ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#749: FILE: ./hal/hal_btcoex.c:749: + struct BTC_COEXIST * pBtCoexist; ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#761: FILE: ./hal/hal_btcoex.c:761: + struct BTC_COEXIST * pBtCoexist = (struct BTC_COEXIST *)pBtcContext; ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#772: FILE: ./hal/hal_btcoex.c:772: + struct BTC_COEXIST * pBtCoexist; ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #785: FILE: ./hal/hal_btcoex.c:785: + struct BTC_COEXIST * pBtCoexist; ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#797: FILE: ./hal/hal_btcoex.c:797: + struct BTC_COEXIST * pBtCoexist; ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#809: FILE: ./hal/hal_btcoex.c:809: + struct BTC_COEXIST * pBtCoexist; ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#821: FILE: ./hal/hal_btcoex.c:821: + struct BTC_COEXIST * pBtCoexist; ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#857: FILE: ./hal/hal_btcoex.c:857: + struct BTC_COEXIST * pBtCoexist; ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#869: FILE: ./hal/hal_btcoex.c:869: + struct BTC_COEXIST * pBtCoexist; ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#891: FILE: ./hal/hal_btcoex.c:891: + struct BTC_COEXIST * pBtCoexist = &GLBtCoexist; ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#917: FILE: ./hal/hal_btcoex.c:917: + struct BTC_COEXIST * pBtCoexist; ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#963: FILE: ./hal/hal_btcoex.c:963: +void EXhalbtcoutsrc_PowerOnSetting(struct BTC_COEXIST * pBtCoexist) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#975: FILE: ./hal/hal_btcoex.c:975: +void EXhalbtcoutsrc_InitHwConfig(struct BTC_COEXIST * pBtCoexist, u8 bWifiOnly) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#988: FILE: ./hal/hal_btcoex.c:988: +void EXhalbtcoutsrc_InitCoexDm(struct BTC_COEXIST * pBtCoexist) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#1003: FILE: ./hal/hal_btcoex.c:1003: +void EXhalbtcoutsrc_IpsNotify(struct BTC_COEXIST * pBtCoexist, u8 type) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#1030: FILE: ./hal/hal_btcoex.c:1030: +void EXhalbtcoutsrc_LpsNotify(struct BTC_COEXIST * pBtCoexist, u8 type) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #1053: FILE: ./hal/hal_btcoex.c:1053: +void EXhalbtcoutsrc_ScanNotify(struct BTC_COEXIST * pBtCoexist, u8 type) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#1082: FILE: ./hal/hal_btcoex.c:1082: +void EXhalbtcoutsrc_ConnectNotify(struct BTC_COEXIST * pBtCoexist, u8 action) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#1108: FILE: ./hal/hal_btcoex.c:1108: +void EXhalbtcoutsrc_MediaStatusNotify(struct BTC_COEXIST * pBtCoexist, enum RT_MEDIA_STATUS mediaStatus) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#1135: FILE: ./hal/hal_btcoex.c:1135: +void EXhalbtcoutsrc_SpecialPacketNotify(struct BTC_COEXIST * pBtCoexist, u8 pktType) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#1166: FILE: ./hal/hal_btcoex.c:1166: +void EXhalbtcoutsrc_BtInfoNotify(struct BTC_COEXIST * pBtCoexist, u8 *tmpBuf, u8 length) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#1184: FILE: ./hal/hal_btcoex.c:1184: +void EXhalbtcoutsrc_HaltNotify(struct BTC_COEXIST * pBtCoexist) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#1197: FILE: ./hal/hal_btcoex.c:1197: +void EXhalbtcoutsrc_PnpNotify(struct BTC_COEXIST * pBtCoexist, u8 pnpState) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#1213: FILE: ./hal/hal_btcoex.c:1213: +void EXhalbtcoutsrc_Periodical(struct BTC_COEXIST * pBtCoexist) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #1258: FILE: ./hal/hal_btcoex.c:1258: +void EXhalbtcoutsrc_DisplayBtCoexInfo(struct BTC_COEXIST * pBtCoexist) Signed-off-by: Marco Cesati <[email protected]>
1 parent 9242c99 commit 86b895d

File tree

1 file changed

+45
-44
lines changed

1 file changed

+45
-44
lines changed

drivers/staging/rtl8723bs/hal/hal_btcoex.c

Lines changed: 45 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ void DBG_BT_INFO(u8 *dbgmsg)
6767
/* */
6868
/* Debug related function */
6969
/* */
70-
static u8 halbtcoutsrc_IsBtCoexistAvailable(struct BTC_COEXIST * pBtCoexist)
70+
static u8 halbtcoutsrc_IsBtCoexistAvailable(struct BTC_COEXIST *pBtCoexist)
7171
{
7272
if (!pBtCoexist->bBinded || !pBtCoexist->Adapter)
7373
return false;
@@ -101,7 +101,7 @@ static void halbtcoutsrc_DbgInit(void)
101101
0;
102102
}
103103

104-
static void halbtcoutsrc_LeaveLps(struct BTC_COEXIST * pBtCoexist)
104+
static void halbtcoutsrc_LeaveLps(struct BTC_COEXIST *pBtCoexist)
105105
{
106106
struct adapter *padapter;
107107

@@ -114,7 +114,7 @@ static void halbtcoutsrc_LeaveLps(struct BTC_COEXIST * pBtCoexist)
114114
rtw_btcoex_LPS_Leave(padapter);
115115
}
116116

117-
static void halbtcoutsrc_EnterLps(struct BTC_COEXIST * pBtCoexist)
117+
static void halbtcoutsrc_EnterLps(struct BTC_COEXIST *pBtCoexist)
118118
{
119119
struct adapter *padapter;
120120

@@ -127,7 +127,7 @@ static void halbtcoutsrc_EnterLps(struct BTC_COEXIST * pBtCoexist)
127127
rtw_btcoex_LPS_Enter(padapter);
128128
}
129129

130-
static void halbtcoutsrc_NormalLps(struct BTC_COEXIST * pBtCoexist)
130+
static void halbtcoutsrc_NormalLps(struct BTC_COEXIST *pBtCoexist)
131131
{
132132
struct adapter *padapter;
133133

@@ -149,7 +149,7 @@ static void halbtcoutsrc_NormalLps(struct BTC_COEXIST * pBtCoexist)
149149
* Constraint:
150150
* 1. this function will request pwrctrl->lock
151151
*/
152-
static void halbtcoutsrc_LeaveLowPower(struct BTC_COEXIST * pBtCoexist)
152+
static void halbtcoutsrc_LeaveLowPower(struct BTC_COEXIST *pBtCoexist)
153153
{
154154
struct adapter *padapter;
155155
s32 ready;
@@ -184,7 +184,7 @@ static void halbtcoutsrc_LeaveLowPower(struct BTC_COEXIST * pBtCoexist)
184184
* Constraint:
185185
* 1. this function will request pwrctrl->lock
186186
*/
187-
static void halbtcoutsrc_NormalLowPower(struct BTC_COEXIST * pBtCoexist)
187+
static void halbtcoutsrc_NormalLowPower(struct BTC_COEXIST *pBtCoexist)
188188
{
189189
struct adapter *padapter;
190190

@@ -193,7 +193,7 @@ static void halbtcoutsrc_NormalLowPower(struct BTC_COEXIST * pBtCoexist)
193193
rtw_unregister_task_alive(padapter, BTCOEX_ALIVE);
194194
}
195195

196-
static void halbtcoutsrc_DisableLowPower(struct BTC_COEXIST * pBtCoexist, u8 bLowPwrDisable)
196+
static void halbtcoutsrc_DisableLowPower(struct BTC_COEXIST *pBtCoexist, u8 bLowPwrDisable)
197197
{
198198
pBtCoexist->btInfo.bBtDisableLowPwr = bLowPwrDisable;
199199
if (bLowPwrDisable)
@@ -202,7 +202,7 @@ static void halbtcoutsrc_DisableLowPower(struct BTC_COEXIST * pBtCoexist, u8 bLo
202202
halbtcoutsrc_NormalLowPower(pBtCoexist); /* original 32k low power behavior. */
203203
}
204204

205-
static void halbtcoutsrc_AggregationCheck(struct BTC_COEXIST * pBtCoexist)
205+
static void halbtcoutsrc_AggregationCheck(struct BTC_COEXIST *pBtCoexist)
206206
{
207207
struct adapter *padapter;
208208
bool bNeedToAct;
@@ -280,7 +280,7 @@ static u32 _halbtcoutsrc_GetWifiLinkStatus(struct adapter *padapter)
280280
return portConnectedStatus;
281281
}
282282

283-
static u32 halbtcoutsrc_GetWifiLinkStatus(struct BTC_COEXIST * pBtCoexist)
283+
static u32 halbtcoutsrc_GetWifiLinkStatus(struct BTC_COEXIST *pBtCoexist)
284284
{
285285
/* */
286286
/* return value: */
@@ -308,7 +308,7 @@ static u32 halbtcoutsrc_GetWifiLinkStatus(struct BTC_COEXIST * pBtCoexist)
308308
return retVal;
309309
}
310310

311-
static u32 halbtcoutsrc_GetBtPatchVer(struct BTC_COEXIST * pBtCoexist)
311+
static u32 halbtcoutsrc_GetBtPatchVer(struct BTC_COEXIST *pBtCoexist)
312312
{
313313
return pBtCoexist->btInfo.btRealFwVer;
314314
}
@@ -339,7 +339,7 @@ static u8 halbtcoutsrc_GetWifiScanAPNum(struct adapter *padapter)
339339

340340
static u8 halbtcoutsrc_Get(void *pBtcContext, u8 getType, void *pOutBuf)
341341
{
342-
struct BTC_COEXIST * pBtCoexist;
342+
struct BTC_COEXIST *pBtCoexist;
343343
struct adapter *padapter;
344344
struct hal_com_data *pHalData;
345345
struct mlme_ext_priv *mlmeext;
@@ -445,7 +445,7 @@ static u8 halbtcoutsrc_Get(void *pBtcContext, u8 getType, void *pOutBuf)
445445

446446
case BTC_GET_U4_WIFI_TRAFFIC_DIRECTION:
447447
{
448-
struct RT_LINK_DETECT_T * plinkinfo;
448+
struct RT_LINK_DETECT_T *plinkinfo;
449449
plinkinfo = &padapter->mlmepriv.LinkDetectInfo;
450450

451451
if (plinkinfo->NumTxOkInPeriod > plinkinfo->NumRxOkInPeriod)
@@ -507,7 +507,7 @@ static u8 halbtcoutsrc_Get(void *pBtcContext, u8 getType, void *pOutBuf)
507507

508508
static u8 halbtcoutsrc_Set(void *pBtcContext, u8 setType, void *pInBuf)
509509
{
510-
struct BTC_COEXIST * pBtCoexist;
510+
struct BTC_COEXIST *pBtCoexist;
511511
struct adapter *padapter;
512512
u8 *pu8;
513513
u32 *pU4Tmp;
@@ -642,7 +642,7 @@ static u8 halbtcoutsrc_Set(void *pBtcContext, u8 setType, void *pInBuf)
642642
return ret;
643643
}
644644

645-
static void halbtcoutsrc_DisplayFwPwrModeCmd(struct BTC_COEXIST * pBtCoexist)
645+
static void halbtcoutsrc_DisplayFwPwrModeCmd(struct BTC_COEXIST *pBtCoexist)
646646
{
647647
u8 *cliBuf = pBtCoexist->cliBuf;
648648

@@ -658,7 +658,7 @@ static void halbtcoutsrc_DisplayFwPwrModeCmd(struct BTC_COEXIST * pBtCoexist)
658658
/* */
659659
static u8 halbtcoutsrc_Read1Byte(void *pBtcContext, u32 RegAddr)
660660
{
661-
struct BTC_COEXIST * pBtCoexist;
661+
struct BTC_COEXIST *pBtCoexist;
662662
struct adapter *padapter;
663663

664664

@@ -670,7 +670,7 @@ static u8 halbtcoutsrc_Read1Byte(void *pBtcContext, u32 RegAddr)
670670

671671
static u16 halbtcoutsrc_Read2Byte(void *pBtcContext, u32 RegAddr)
672672
{
673-
struct BTC_COEXIST * pBtCoexist;
673+
struct BTC_COEXIST *pBtCoexist;
674674
struct adapter *padapter;
675675

676676

@@ -682,7 +682,7 @@ static u16 halbtcoutsrc_Read2Byte(void *pBtcContext, u32 RegAddr)
682682

683683
static u32 halbtcoutsrc_Read4Byte(void *pBtcContext, u32 RegAddr)
684684
{
685-
struct BTC_COEXIST * pBtCoexist;
685+
struct BTC_COEXIST *pBtCoexist;
686686
struct adapter *padapter;
687687

688688

@@ -694,7 +694,7 @@ static u32 halbtcoutsrc_Read4Byte(void *pBtcContext, u32 RegAddr)
694694

695695
static void halbtcoutsrc_Write1Byte(void *pBtcContext, u32 RegAddr, u8 Data)
696696
{
697-
struct BTC_COEXIST * pBtCoexist;
697+
struct BTC_COEXIST *pBtCoexist;
698698
struct adapter *padapter;
699699

700700

@@ -706,7 +706,7 @@ static void halbtcoutsrc_Write1Byte(void *pBtcContext, u32 RegAddr, u8 Data)
706706

707707
static void halbtcoutsrc_BitMaskWrite1Byte(void *pBtcContext, u32 regAddr, u8 bitMask, u8 data1b)
708708
{
709-
struct BTC_COEXIST * pBtCoexist;
709+
struct BTC_COEXIST *pBtCoexist;
710710
struct adapter *padapter;
711711
u8 originalValue, bitShift;
712712
u8 i;
@@ -746,7 +746,7 @@ static void halbtcoutsrc_Write2Byte(void *pBtcContext, u32 RegAddr, u16 Data)
746746

747747
static void halbtcoutsrc_Write4Byte(void *pBtcContext, u32 RegAddr, u32 Data)
748748
{
749-
struct BTC_COEXIST * pBtCoexist;
749+
struct BTC_COEXIST *pBtCoexist;
750750
struct adapter *padapter;
751751

752752

@@ -758,7 +758,7 @@ static void halbtcoutsrc_Write4Byte(void *pBtcContext, u32 RegAddr, u32 Data)
758758

759759
static void halbtcoutsrc_WriteLocalReg1Byte(void *pBtcContext, u32 RegAddr, u8 Data)
760760
{
761-
struct BTC_COEXIST * pBtCoexist = (struct BTC_COEXIST *)pBtcContext;
761+
struct BTC_COEXIST *pBtCoexist = (struct BTC_COEXIST *)pBtcContext;
762762
struct adapter *Adapter = pBtCoexist->Adapter;
763763

764764
if (BTC_INTF_SDIO == pBtCoexist->chipInterface)
@@ -769,7 +769,7 @@ static void halbtcoutsrc_WriteLocalReg1Byte(void *pBtcContext, u32 RegAddr, u8 D
769769

770770
static void halbtcoutsrc_SetBbReg(void *pBtcContext, u32 RegAddr, u32 BitMask, u32 Data)
771771
{
772-
struct BTC_COEXIST * pBtCoexist;
772+
struct BTC_COEXIST *pBtCoexist;
773773
struct adapter *padapter;
774774

775775

@@ -782,7 +782,7 @@ static void halbtcoutsrc_SetBbReg(void *pBtcContext, u32 RegAddr, u32 BitMask, u
782782

783783
static u32 halbtcoutsrc_GetBbReg(void *pBtcContext, u32 RegAddr, u32 BitMask)
784784
{
785-
struct BTC_COEXIST * pBtCoexist;
785+
struct BTC_COEXIST *pBtCoexist;
786786
struct adapter *padapter;
787787

788788

@@ -794,7 +794,7 @@ static u32 halbtcoutsrc_GetBbReg(void *pBtcContext, u32 RegAddr, u32 BitMask)
794794

795795
static void halbtcoutsrc_SetRfReg(void *pBtcContext, u8 eRFPath, u32 RegAddr, u32 BitMask, u32 Data)
796796
{
797-
struct BTC_COEXIST * pBtCoexist;
797+
struct BTC_COEXIST *pBtCoexist;
798798
struct adapter *padapter;
799799

800800

@@ -806,7 +806,7 @@ static void halbtcoutsrc_SetRfReg(void *pBtcContext, u8 eRFPath, u32 RegAddr, u3
806806

807807
static u32 halbtcoutsrc_GetRfReg(void *pBtcContext, u8 eRFPath, u32 RegAddr, u32 BitMask)
808808
{
809-
struct BTC_COEXIST * pBtCoexist;
809+
struct BTC_COEXIST *pBtCoexist;
810810
struct adapter *padapter;
811811

812812

@@ -818,7 +818,7 @@ static u32 halbtcoutsrc_GetRfReg(void *pBtcContext, u8 eRFPath, u32 RegAddr, u32
818818

819819
static void halbtcoutsrc_SetBtReg(void *pBtcContext, u8 RegType, u32 RegAddr, u32 Data)
820820
{
821-
struct BTC_COEXIST * pBtCoexist;
821+
struct BTC_COEXIST *pBtCoexist;
822822
struct adapter *padapter;
823823
u8 CmdBuffer1[4] = {0};
824824
u8 CmdBuffer2[4] = {0};
@@ -854,7 +854,7 @@ static u32 halbtcoutsrc_GetBtReg(void *pBtcContext, u8 RegType, u32 RegAddr)
854854

855855
static void halbtcoutsrc_FillH2cCmd(void *pBtcContext, u8 elementId, u32 cmdLen, u8 *pCmdBuffer)
856856
{
857-
struct BTC_COEXIST * pBtCoexist;
857+
struct BTC_COEXIST *pBtCoexist;
858858
struct adapter *padapter;
859859

860860

@@ -866,7 +866,7 @@ static void halbtcoutsrc_FillH2cCmd(void *pBtcContext, u8 elementId, u32 cmdLen,
866866

867867
static void halbtcoutsrc_DisplayDbgMsg(void *pBtcContext, u8 dispType)
868868
{
869-
struct BTC_COEXIST * pBtCoexist;
869+
struct BTC_COEXIST *pBtCoexist;
870870

871871

872872
pBtCoexist = (struct BTC_COEXIST *)pBtcContext;
@@ -888,7 +888,7 @@ static void halbtcoutsrc_DisplayDbgMsg(void *pBtcContext, u8 dispType)
888888
/* */
889889
static u8 EXhalbtcoutsrc_BindBtCoexWithAdapter(void *padapter)
890890
{
891-
struct BTC_COEXIST * pBtCoexist = &GLBtCoexist;
891+
struct BTC_COEXIST *pBtCoexist = &GLBtCoexist;
892892

893893
if (pBtCoexist->bBinded)
894894
return false;
@@ -914,7 +914,7 @@ static u8 EXhalbtcoutsrc_BindBtCoexWithAdapter(void *padapter)
914914

915915
void hal_btcoex_Initialize(void *padapter)
916916
{
917-
struct BTC_COEXIST * pBtCoexist;
917+
struct BTC_COEXIST *pBtCoexist;
918918

919919
memset(&GLBtCoexist, 0, sizeof(GLBtCoexist));
920920

@@ -960,7 +960,7 @@ void hal_btcoex_Initialize(void *padapter)
960960
GLBtcWiFiInIQKState = false;
961961
}
962962

963-
void EXhalbtcoutsrc_PowerOnSetting(struct BTC_COEXIST * pBtCoexist)
963+
void EXhalbtcoutsrc_PowerOnSetting(struct BTC_COEXIST *pBtCoexist)
964964
{
965965
if (!halbtcoutsrc_IsBtCoexistAvailable(pBtCoexist))
966966
return;
@@ -972,7 +972,7 @@ void EXhalbtcoutsrc_PowerOnSetting(struct BTC_COEXIST * pBtCoexist)
972972
EXhalbtc8723b1ant_PowerOnSetting(pBtCoexist);
973973
}
974974

975-
void EXhalbtcoutsrc_InitHwConfig(struct BTC_COEXIST * pBtCoexist, u8 bWifiOnly)
975+
void EXhalbtcoutsrc_InitHwConfig(struct BTC_COEXIST *pBtCoexist, u8 bWifiOnly)
976976
{
977977
if (!halbtcoutsrc_IsBtCoexistAvailable(pBtCoexist))
978978
return;
@@ -985,7 +985,7 @@ void EXhalbtcoutsrc_InitHwConfig(struct BTC_COEXIST * pBtCoexist, u8 bWifiOnly)
985985
EXhalbtc8723b1ant_InitHwConfig(pBtCoexist, bWifiOnly);
986986
}
987987

988-
void EXhalbtcoutsrc_InitCoexDm(struct BTC_COEXIST * pBtCoexist)
988+
void EXhalbtcoutsrc_InitCoexDm(struct BTC_COEXIST *pBtCoexist)
989989
{
990990
if (!halbtcoutsrc_IsBtCoexistAvailable(pBtCoexist))
991991
return;
@@ -1000,7 +1000,7 @@ void EXhalbtcoutsrc_InitCoexDm(struct BTC_COEXIST * pBtCoexist)
10001000
pBtCoexist->bInitilized = true;
10011001
}
10021002

1003-
void EXhalbtcoutsrc_IpsNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
1003+
void EXhalbtcoutsrc_IpsNotify(struct BTC_COEXIST *pBtCoexist, u8 type)
10041004
{
10051005
u8 ipsType;
10061006

@@ -1027,7 +1027,7 @@ void EXhalbtcoutsrc_IpsNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
10271027
/* halbtcoutsrc_NormalLowPower(pBtCoexist); */
10281028
}
10291029

1030-
void EXhalbtcoutsrc_LpsNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
1030+
void EXhalbtcoutsrc_LpsNotify(struct BTC_COEXIST *pBtCoexist, u8 type)
10311031
{
10321032
u8 lpsType;
10331033

@@ -1050,7 +1050,7 @@ void EXhalbtcoutsrc_LpsNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
10501050
EXhalbtc8723b1ant_LpsNotify(pBtCoexist, lpsType);
10511051
}
10521052

1053-
void EXhalbtcoutsrc_ScanNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
1053+
void EXhalbtcoutsrc_ScanNotify(struct BTC_COEXIST *pBtCoexist, u8 type)
10541054
{
10551055
u8 scanType;
10561056

@@ -1079,7 +1079,7 @@ void EXhalbtcoutsrc_ScanNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
10791079
/* halbtcoutsrc_NormalLowPower(pBtCoexist); */
10801080
}
10811081

1082-
void EXhalbtcoutsrc_ConnectNotify(struct BTC_COEXIST * pBtCoexist, u8 action)
1082+
void EXhalbtcoutsrc_ConnectNotify(struct BTC_COEXIST *pBtCoexist, u8 action)
10831083
{
10841084
u8 assoType;
10851085

@@ -1105,7 +1105,8 @@ void EXhalbtcoutsrc_ConnectNotify(struct BTC_COEXIST * pBtCoexist, u8 action)
11051105
/* halbtcoutsrc_NormalLowPower(pBtCoexist); */
11061106
}
11071107

1108-
void EXhalbtcoutsrc_MediaStatusNotify(struct BTC_COEXIST * pBtCoexist, enum RT_MEDIA_STATUS mediaStatus)
1108+
void EXhalbtcoutsrc_MediaStatusNotify(struct BTC_COEXIST *pBtCoexist, enum
1109+
RT_MEDIA_STATUS mediaStatus)
11091110
{
11101111
u8 mStatus;
11111112

@@ -1132,7 +1133,7 @@ void EXhalbtcoutsrc_MediaStatusNotify(struct BTC_COEXIST * pBtCoexist, enum RT_M
11321133
/* halbtcoutsrc_NormalLowPower(pBtCoexist); */
11331134
}
11341135

1135-
void EXhalbtcoutsrc_SpecialPacketNotify(struct BTC_COEXIST * pBtCoexist, u8 pktType)
1136+
void EXhalbtcoutsrc_SpecialPacketNotify(struct BTC_COEXIST *pBtCoexist, u8 pktType)
11361137
{
11371138
u8 packetType;
11381139

@@ -1163,7 +1164,7 @@ void EXhalbtcoutsrc_SpecialPacketNotify(struct BTC_COEXIST * pBtCoexist, u8 pktT
11631164
/* halbtcoutsrc_NormalLowPower(pBtCoexist); */
11641165
}
11651166

1166-
void EXhalbtcoutsrc_BtInfoNotify(struct BTC_COEXIST * pBtCoexist, u8 *tmpBuf, u8 length)
1167+
void EXhalbtcoutsrc_BtInfoNotify(struct BTC_COEXIST *pBtCoexist, u8 *tmpBuf, u8 length)
11671168
{
11681169
if (!halbtcoutsrc_IsBtCoexistAvailable(pBtCoexist))
11691170
return;
@@ -1181,7 +1182,7 @@ void EXhalbtcoutsrc_BtInfoNotify(struct BTC_COEXIST * pBtCoexist, u8 *tmpBuf, u8
11811182
/* halbtcoutsrc_NormalLowPower(pBtCoexist); */
11821183
}
11831184

1184-
void EXhalbtcoutsrc_HaltNotify(struct BTC_COEXIST * pBtCoexist)
1185+
void EXhalbtcoutsrc_HaltNotify(struct BTC_COEXIST *pBtCoexist)
11851186
{
11861187
if (!halbtcoutsrc_IsBtCoexistAvailable(pBtCoexist))
11871188
return;
@@ -1194,7 +1195,7 @@ void EXhalbtcoutsrc_HaltNotify(struct BTC_COEXIST * pBtCoexist)
11941195
pBtCoexist->bBinded = false;
11951196
}
11961197

1197-
void EXhalbtcoutsrc_PnpNotify(struct BTC_COEXIST * pBtCoexist, u8 pnpState)
1198+
void EXhalbtcoutsrc_PnpNotify(struct BTC_COEXIST *pBtCoexist, u8 pnpState)
11981199
{
11991200
if (!halbtcoutsrc_IsBtCoexistAvailable(pBtCoexist))
12001201
return;
@@ -1210,7 +1211,7 @@ void EXhalbtcoutsrc_PnpNotify(struct BTC_COEXIST * pBtCoexist, u8 pnpState)
12101211
EXhalbtc8723b2ant_PnpNotify(pBtCoexist, pnpState);
12111212
}
12121213

1213-
void EXhalbtcoutsrc_Periodical(struct BTC_COEXIST * pBtCoexist)
1214+
void EXhalbtcoutsrc_Periodical(struct BTC_COEXIST *pBtCoexist)
12141215
{
12151216
if (!halbtcoutsrc_IsBtCoexistAvailable(pBtCoexist))
12161217
return;
@@ -1255,7 +1256,7 @@ void EXhalbtcoutsrc_SetSingleAntPath(u8 singleAntPath)
12551256
GLBtCoexist.boardInfo.singleAntPath = singleAntPath;
12561257
}
12571258

1258-
void EXhalbtcoutsrc_DisplayBtCoexInfo(struct BTC_COEXIST * pBtCoexist)
1259+
void EXhalbtcoutsrc_DisplayBtCoexInfo(struct BTC_COEXIST *pBtCoexist)
12591260
{
12601261
if (!halbtcoutsrc_IsBtCoexistAvailable(pBtCoexist))
12611262
return;

0 commit comments

Comments
 (0)