Skip to content

Commit

Permalink
Staging: rtl8723bs: fix spaces in rtl8723b_hal_init.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#586: FILE: ./hal/rtl8723b_hal_init.c:586:
    +	struct EFUSE_HAL * pEfuseHal = &pHalData->EfuseHal;

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    torvalds#867: FILE: ./hal/rtl8723b_hal_init.c:867:
    +	struct EFUSE_HAL * pEfuseHal = &pHalData->EfuseHal;

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    torvalds#1006: FILE: ./hal/rtl8723b_hal_init.c:1006:
    +	struct EFUSE_HAL * pEfuseHal = &pHalData->EfuseHal;

    ERROR:POINTER_LOCATION: "foo *		bar" should be "foo *bar"
    #1149: FILE: ./hal/rtl8723b_hal_init.c:1149:
    +	struct EFUSE_HAL *		pEfuseHal = &pHalData->EfuseHal;

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #1247: FILE: ./hal/rtl8723b_hal_init.c:1247:
    +	struct EFUSE_HAL * pEfuseHal = &pHalData->EfuseHal;

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #1552: FILE: ./hal/rtl8723b_hal_init.c:1552:
    +	struct PGPKT_STRUCT * pTargetPkt

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #1566: FILE: ./hal/rtl8723b_hal_init.c:1566:
    +	struct PGPKT_STRUCT * pTargetPkt,

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #1571: FILE: ./hal/rtl8723b_hal_init.c:1571:
    +	struct EFUSE_HAL * pEfuseHal = &pHalData->EfuseHal;

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #1684: FILE: ./hal/rtl8723b_hal_init.c:1684:
    +	struct PGPKT_STRUCT * pTargetPkt,

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #1721: FILE: ./hal/rtl8723b_hal_init.c:1721:
    +	struct PGPKT_STRUCT * pTargetPkt,

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #1788: FILE: ./hal/rtl8723b_hal_init.c:1788:
    +	struct PGPKT_STRUCT * pTargetPkt,

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #1806: FILE: ./hal/rtl8723b_hal_init.c:1806:
    +	struct PGPKT_STRUCT * pTargetPkt,

Signed-off-by: Marco Cesati <marcocesati@gmail.com>
  • Loading branch information
Marco Cesati authored and intel-lab-lkp committed Mar 15, 2021
1 parent bf62e1a commit 5ef1daa
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ static u8 hal_EfuseSwitchToBank(
u32 value32 = 0;
#ifdef HAL_EFUSE_MEMORY
struct hal_com_data *pHalData = GET_HAL_DATA(padapter);
struct EFUSE_HAL * pEfuseHal = &pHalData->EfuseHal;
struct EFUSE_HAL *pEfuseHal = &pHalData->EfuseHal;
#endif


Expand Down Expand Up @@ -864,7 +864,7 @@ static void hal_ReadEFuse_WiFi(
{
#ifdef HAL_EFUSE_MEMORY
struct hal_com_data *pHalData = GET_HAL_DATA(padapter);
struct EFUSE_HAL * pEfuseHal = &pHalData->EfuseHal;
struct EFUSE_HAL *pEfuseHal = &pHalData->EfuseHal;
#endif
u8 *efuseTbl = NULL;
u16 eFuse_Addr = 0;
Expand Down Expand Up @@ -1003,7 +1003,7 @@ static void hal_ReadEFuse_BT(
{
#ifdef HAL_EFUSE_MEMORY
struct hal_com_data *pHalData = GET_HAL_DATA(padapter);
struct EFUSE_HAL * pEfuseHal = &pHalData->EfuseHal;
struct EFUSE_HAL *pEfuseHal = &pHalData->EfuseHal;
#endif
u8 *efuseTbl;
u8 bank;
Expand Down Expand Up @@ -1146,7 +1146,7 @@ static u16 hal_EfuseGetCurrentSize_WiFi(
{
#ifdef HAL_EFUSE_MEMORY
struct hal_com_data *pHalData = GET_HAL_DATA(padapter);
struct EFUSE_HAL * pEfuseHal = &pHalData->EfuseHal;
struct EFUSE_HAL *pEfuseHal = &pHalData->EfuseHal;
#endif
u16 efuse_addr = 0;
u16 start_addr = 0; /* for debug */
Expand Down Expand Up @@ -1244,7 +1244,7 @@ static u16 hal_EfuseGetCurrentSize_BT(struct adapter *padapter, u8 bPseudoTest)
{
#ifdef HAL_EFUSE_MEMORY
struct hal_com_data *pHalData = GET_HAL_DATA(padapter);
struct EFUSE_HAL * pEfuseHal = &pHalData->EfuseHal;
struct EFUSE_HAL *pEfuseHal = &pHalData->EfuseHal;
#endif
u16 btusedbytes;
u16 efuse_addr;
Expand Down Expand Up @@ -1549,7 +1549,7 @@ static void hal_EfuseConstructPGPkt(
u8 offset,
u8 word_en,
u8 *pData,
struct PGPKT_STRUCT * pTargetPkt
struct PGPKT_STRUCT *pTargetPkt
)
{
memset(pTargetPkt->data, 0xFF, PGPKT_DATA_SIZE);
Expand All @@ -1563,12 +1563,12 @@ static u8 hal_EfusePartialWriteCheck(
struct adapter *padapter,
u8 efuseType,
u16 *pAddr,
struct PGPKT_STRUCT * pTargetPkt,
struct PGPKT_STRUCT *pTargetPkt,
u8 bPseudoTest
)
{
struct hal_com_data *pHalData = GET_HAL_DATA(padapter);
struct EFUSE_HAL * pEfuseHal = &pHalData->EfuseHal;
struct EFUSE_HAL *pEfuseHal = &pHalData->EfuseHal;
u8 bRet = false;
u16 startAddr = 0, efuse_max_available_len = 0, efuse_max = 0;
u8 efuse_data = 0;
Expand Down Expand Up @@ -1681,7 +1681,7 @@ static u8 hal_EfusePgPacketWrite1ByteHeader(
struct adapter *padapter,
u8 efuseType,
u16 *pAddr,
struct PGPKT_STRUCT * pTargetPkt,
struct PGPKT_STRUCT *pTargetPkt,
u8 bPseudoTest
)
{
Expand Down Expand Up @@ -1718,7 +1718,7 @@ static u8 hal_EfusePgPacketWrite2ByteHeader(
struct adapter *padapter,
u8 efuseType,
u16 *pAddr,
struct PGPKT_STRUCT * pTargetPkt,
struct PGPKT_STRUCT *pTargetPkt,
u8 bPseudoTest
)
{
Expand Down Expand Up @@ -1785,7 +1785,7 @@ static u8 hal_EfusePgPacketWriteHeader(
struct adapter *padapter,
u8 efuseType,
u16 *pAddr,
struct PGPKT_STRUCT * pTargetPkt,
struct PGPKT_STRUCT *pTargetPkt,
u8 bPseudoTest
)
{
Expand All @@ -1803,7 +1803,7 @@ static u8 hal_EfusePgPacketWriteData(
struct adapter *padapter,
u8 efuseType,
u16 *pAddr,
struct PGPKT_STRUCT * pTargetPkt,
struct PGPKT_STRUCT *pTargetPkt,
u8 bPseudoTest
)
{
Expand Down

0 comments on commit 5ef1daa

Please sign in to comment.