Skip to content

Commit

Permalink
Staging: rtl8723bs: fix spaces in hal_com_phycfg.h
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#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]>
  • Loading branch information
Marco Cesati authored and gregkh committed Mar 16, 2021
1 parent dc3a2ea commit d9faf10
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions drivers/staging/rtl8723bs/include/hal_com_phycfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ struct bb_register_def {

u8
PHY_GetTxPowerByRateBase(
struct adapter * Adapter,
struct adapter *Adapter,
u8 Band,
u8 RfPath,
u8 TxNum,
Expand All @@ -92,9 +92,9 @@ struct adapter *padapter,
u32 RegAddr,
u32 BitMask,
u32 Value,
u8* RateIndex,
s8* PwrByRateVal,
u8* RateNum
u8 *RateIndex,
s8 *PwrByRateVal,
u8 *RateNum
);

u8
Expand All @@ -104,7 +104,7 @@ u8 Rate

void
PHY_SetTxPowerIndexByRateSection(
struct adapter * padapter,
struct adapter *padapter,
u8 RFPath,
u8 Channel,
u8 RateSection
Expand Down Expand Up @@ -138,11 +138,11 @@ u8 path

void
PHY_SetTxPowerIndexByRateArray(
struct adapter * padapter,
struct adapter *padapter,
u8 RFPath,
enum CHANNEL_WIDTH BandWidth,
u8 Channel,
u8* Rates,
u8 *Rates,
u8 RateArraySize
);

Expand All @@ -164,12 +164,12 @@ u32 Data

void
PHY_TxPowerByRateConfiguration(
struct adapter * padapter
struct adapter *padapter
);

u8
PHY_GetTxPowerIndexBase(
struct adapter * padapter,
struct adapter *padapter,
u8 RFPath,
u8 Rate,
enum CHANNEL_WIDTH BandWidth,
Expand All @@ -186,7 +186,7 @@ u8 Channel

void
PHY_SetTxPowerLimit(
struct adapter * Adapter,
struct adapter *Adapter,
u8 *Regulation,
u8 *Band,
u8 *Bandwidth,
Expand All @@ -198,12 +198,12 @@ u8 *PowerLimit

void
PHY_ConvertTxPowerLimitToPowerIndex(
struct adapter * Adapter
struct adapter *Adapter
);

void
PHY_InitTxPowerLimit(
struct adapter * Adapter
struct adapter *Adapter
);

s8
Expand All @@ -215,7 +215,7 @@ PHY_GetTxPowerTrackingOffset(

void
Hal_ChannelPlanToRegulation(
struct adapter * Adapter,
struct adapter *Adapter,
u16 ChannelPlan
);

Expand Down

0 comments on commit d9faf10

Please sign in to comment.