From: Akiyoshi Kurita <weibu@redadmin.org>
To: gregkh@linuxfoundation.org
Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org,
Akiyoshi Kurita <weibu@redadmin.org>
Subject: [PATCH v2] staging: rtl8723bs: hal: put return type and function name on one line
Date: Sat, 13 Sep 2025 01:26:13 +0900 [thread overview]
Message-ID: <20250912162613.776769-1-weibu@redadmin.org> (raw)
In-Reply-To: <2025091233-showman-dill-3d17@gregkh>
Make the function definition of phy_StoreTxPowerByRateBase() follow the
kernel coding style by placing the return type and function name on a
single line.
No functional change.
Signed-off-by: Akiyoshi Kurita <weibu@redadmin.org>
---
v2:
- Keep return type and function name on the same line (per review).
- Drop stray blank line before the opening brace.
---
drivers/staging/rtl8723bs/hal/hal_com_phycfg.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c b/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c
index d5649e7d8f99..cd76e26e868f 100644
--- a/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c
+++ b/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c
@@ -59,10 +59,7 @@ phy_SetTxPowerByRateBase(struct adapter *Adapter, u8 RfPath,
}
}
-static void
-phy_StoreTxPowerByRateBase(
-struct adapter *padapter
- )
+static void phy_StoreTxPowerByRateBase(struct adapter *padapter)
{
u8 path, base;
--
2.47.3
prev parent reply other threads:[~2025-09-12 16:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-08 14:46 [PATCH] staging: rtl8723bs: fix coding style in hal_com_phycfg.c Akiyoshi Kurita
2025-09-08 15:24 ` Dan Carpenter
2025-09-12 13:45 ` Greg Kroah-Hartman
2025-09-12 16:26 ` Akiyoshi Kurita [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250912162613.776769-1-weibu@redadmin.org \
--to=weibu@redadmin.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).