[PATCH] staging: rtl8723bs: fix coding style in hal_com_phycfg.c

Akiyoshi Kurita posted 1 patch 1 day, 6 hours ago
drivers/staging/rtl8723bs/hal/hal_com_phycfg.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
[PATCH] staging: rtl8723bs: fix coding style in hal_com_phycfg.c
Posted by Akiyoshi Kurita 1 day, 6 hours ago
The function definition for phy_StoreTxPowerByRateBase() did not
follow the kernel coding style.

Move the closing parenthesis to the same line as the argument to fix
the style issue reported by checkpatch.pl.

Signed-off-by: Akiyoshi Kurita <weibu@redadmin.org>
---
 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c b/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c
index d5649e7d8f99..f137ec747ab3 100644
--- a/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c
+++ b/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c
@@ -60,9 +60,7 @@ phy_SetTxPowerByRateBase(struct adapter *Adapter, u8 RfPath,
 }
 
 static void
-phy_StoreTxPowerByRateBase(
-struct adapter *padapter
-	)
+phy_StoreTxPowerByRateBase(struct adapter *padapter)
 {
 	u8 path, base;
 
-- 
2.47.3
Re: [PATCH] staging: rtl8723bs: fix coding style in hal_com_phycfg.c
Posted by Dan Carpenter 1 day, 6 hours ago
On Mon, Sep 08, 2025 at 11:46:41PM +0900, Akiyoshi Kurita wrote:
> The function definition for phy_StoreTxPowerByRateBase() did not
> follow the kernel coding style.
> 
> Move the closing parenthesis to the same line as the argument to fix
> the style issue reported by checkpatch.pl.
> 
> Signed-off-by: Akiyoshi Kurita <weibu@redadmin.org>
> ---

There are so many other functions which are declared in exactly this
same format.  Fix the others like this in the file as well in one patch.

regards,
dan carpenter