Staging: rtl8723bs: fix spaces in hal_com_phycfg.h
authorMarco Cesati <marcocesati@gmail.com>
Mon, 15 Mar 2021 17:06:04 +0000 (18:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Mar 2021 11:23:17 +0000 (12:23 +0100)
This commit fixes the following checkpatch.pl errors:

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #75: FILE: ./include/hal_com_phycfg.h:75:
    +struct adapter * Adapter,

    ERROR:POINTER_LOCATION: "foo* bar" should be "foo *bar"
    #95: FILE: ./include/hal_com_phycfg.h:95:
    + u8* RateIndex,

    ERROR:POINTER_LOCATION: "foo* bar" should be "foo *bar"
    #96: FILE: ./include/hal_com_phycfg.h:96:
    + s8* PwrByRateVal,

    ERROR:POINTER_LOCATION: "foo* bar" should be "foo *bar"
    #97: FILE: ./include/hal_com_phycfg.h:97:
    + u8* RateNum

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #107: FILE: ./include/hal_com_phycfg.h:107:
    +struct adapter * padapter,

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #141: FILE: ./include/hal_com_phycfg.h:141:
    +struct adapter * padapter,

    ERROR:POINTER_LOCATION: "foo* bar" should be "foo *bar"
    #145: FILE: ./include/hal_com_phycfg.h:145:
    +u8* Rates,

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #167: FILE: ./include/hal_com_phycfg.h:167:
    + struct adapter * padapter

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #172: FILE: ./include/hal_com_phycfg.h:172:
    +struct adapter * padapter,

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #189: FILE: ./include/hal_com_phycfg.h:189:
    +struct adapter * Adapter,

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #201: FILE: ./include/hal_com_phycfg.h:201:
    +struct adapter * Adapter

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #206: FILE: ./include/hal_com_phycfg.h:206:
    +struct adapter * Adapter

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #218: FILE: ./include/hal_com_phycfg.h:218:
    +struct adapter * Adapter,

Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Marco Cesati <marcocesati@gmail.com>
Link: https://lore.kernel.org/r/20210315170618.2566-44-marcocesati@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/include/hal_com_phycfg.h

index 9fff4aa..580b853 100644 (file)
@@ -72,7 +72,7 @@ struct bb_register_def {
 
 u8
 PHY_GetTxPowerByRateBase(
-struct adapter *       Adapter,
+struct adapter *Adapter,
 u8             Band,
 u8             RfPath,
 u8             TxNum,
@@ -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
@@ -104,7 +104,7 @@ u8 Rate
 
 void
 PHY_SetTxPowerIndexByRateSection(
-struct adapter *       padapter,
+struct adapter *padapter,
 u8             RFPath,
 u8             Channel,
 u8             RateSection
@@ -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
        );
 
@@ -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,
@@ -186,7 +186,7 @@ u8          Channel
 
 void
 PHY_SetTxPowerLimit(
-struct adapter *               Adapter,
+struct adapter *Adapter,
 u8                     *Regulation,
 u8                     *Band,
 u8                     *Bandwidth,
@@ -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
@@ -215,7 +215,7 @@ PHY_GetTxPowerTrackingOffset(
 
 void
 Hal_ChannelPlanToRegulation(
-struct adapter *       Adapter,
+struct adapter *Adapter,
 u16                    ChannelPlan
        );