Skip to content

Commit d9faf10

Browse files
Marco Cesatigregkh
authored andcommitted
Staging: rtl8723bs: fix spaces in hal_com_phycfg.h
This commit fixes the following checkpatch.pl errors: ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#75: FILE: ./include/hal_com_phycfg.h:75: +struct adapter * Adapter, ERROR:POINTER_LOCATION: "foo* bar" should be "foo *bar" torvalds#95: FILE: ./include/hal_com_phycfg.h:95: + u8* RateIndex, ERROR:POINTER_LOCATION: "foo* bar" should be "foo *bar" torvalds#96: FILE: ./include/hal_com_phycfg.h:96: + s8* PwrByRateVal, ERROR:POINTER_LOCATION: "foo* bar" should be "foo *bar" torvalds#97: FILE: ./include/hal_com_phycfg.h:97: + u8* RateNum ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#107: FILE: ./include/hal_com_phycfg.h:107: +struct adapter * padapter, ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#141: FILE: ./include/hal_com_phycfg.h:141: +struct adapter * padapter, ERROR:POINTER_LOCATION: "foo* bar" should be "foo *bar" torvalds#145: FILE: ./include/hal_com_phycfg.h:145: +u8* Rates, ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#167: FILE: ./include/hal_com_phycfg.h:167: + struct adapter * padapter ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#172: FILE: ./include/hal_com_phycfg.h:172: +struct adapter * padapter, ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#189: FILE: ./include/hal_com_phycfg.h:189: +struct adapter * Adapter, ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#201: FILE: ./include/hal_com_phycfg.h:201: +struct adapter * Adapter ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#206: FILE: ./include/hal_com_phycfg.h:206: +struct adapter * Adapter ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#218: FILE: ./include/hal_com_phycfg.h:218: +struct adapter * Adapter, 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]>
1 parent dc3a2ea commit d9faf10

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

drivers/staging/rtl8723bs/include/hal_com_phycfg.h

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ struct bb_register_def {
7272

7373
u8
7474
PHY_GetTxPowerByRateBase(
75-
struct adapter * Adapter,
75+
struct adapter *Adapter,
7676
u8 Band,
7777
u8 RfPath,
7878
u8 TxNum,
@@ -92,9 +92,9 @@ struct adapter *padapter,
9292
u32 RegAddr,
9393
u32 BitMask,
9494
u32 Value,
95-
u8* RateIndex,
96-
s8* PwrByRateVal,
97-
u8* RateNum
95+
u8 *RateIndex,
96+
s8 *PwrByRateVal,
97+
u8 *RateNum
9898
);
9999

100100
u8
@@ -104,7 +104,7 @@ u8 Rate
104104

105105
void
106106
PHY_SetTxPowerIndexByRateSection(
107-
struct adapter * padapter,
107+
struct adapter *padapter,
108108
u8 RFPath,
109109
u8 Channel,
110110
u8 RateSection
@@ -138,11 +138,11 @@ u8 path
138138

139139
void
140140
PHY_SetTxPowerIndexByRateArray(
141-
struct adapter * padapter,
141+
struct adapter *padapter,
142142
u8 RFPath,
143143
enum CHANNEL_WIDTH BandWidth,
144144
u8 Channel,
145-
u8* Rates,
145+
u8 *Rates,
146146
u8 RateArraySize
147147
);
148148

@@ -164,12 +164,12 @@ u32 Data
164164

165165
void
166166
PHY_TxPowerByRateConfiguration(
167-
struct adapter * padapter
167+
struct adapter *padapter
168168
);
169169

170170
u8
171171
PHY_GetTxPowerIndexBase(
172-
struct adapter * padapter,
172+
struct adapter *padapter,
173173
u8 RFPath,
174174
u8 Rate,
175175
enum CHANNEL_WIDTH BandWidth,
@@ -186,7 +186,7 @@ u8 Channel
186186

187187
void
188188
PHY_SetTxPowerLimit(
189-
struct adapter * Adapter,
189+
struct adapter *Adapter,
190190
u8 *Regulation,
191191
u8 *Band,
192192
u8 *Bandwidth,
@@ -198,12 +198,12 @@ u8 *PowerLimit
198198

199199
void
200200
PHY_ConvertTxPowerLimitToPowerIndex(
201-
struct adapter * Adapter
201+
struct adapter *Adapter
202202
);
203203

204204
void
205205
PHY_InitTxPowerLimit(
206-
struct adapter * Adapter
206+
struct adapter *Adapter
207207
);
208208

209209
s8
@@ -215,7 +215,7 @@ PHY_GetTxPowerTrackingOffset(
215215

216216
void
217217
Hal_ChannelPlanToRegulation(
218-
struct adapter * Adapter,
218+
struct adapter *Adapter,
219219
u16 ChannelPlan
220220
);
221221

0 commit comments

Comments
 (0)