From: Sarah Gershuni <sarah556726@gmail.com>
To: gregkh@linuxfoundation.org, sarah556726@gmail.com,
dan.carpenter@linaro.org, arthur.stupa@gmail.com
Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: [PATCH 2/3] staging: rtl8723bs: fix blank line style issues in rtw_io.c
Date: Thu, 12 Feb 2026 10:23:57 +0200 [thread overview]
Message-ID: <20260212082358.3403-3-sarah556726@gmail.com> (raw)
In-Reply-To: <20260212082358.3403-1-sarah556726@gmail.com>
Fix checkpatch.pl style warnings related to blank lines:
CHECK: Blank lines aren't necessary before a close brace '}'
CHECK: Please use a blank line after function declarations
Adjust spacing to comply with kernel coding style.
Signed-off-by: Sarah Gershuni <sarah556726@gmail.com>
---
drivers/staging/rtl8723bs/core/rtw_io.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8723bs/core/rtw_io.c b/drivers/staging/rtl8723bs/core/rtw_io.c
index 7bc09a50d4dd..cc00ea80daae 100644
--- a/drivers/staging/rtl8723bs/core/rtw_io.c
+++ b/drivers/staging/rtl8723bs/core/rtw_io.c
@@ -59,7 +59,6 @@ u32 rtw_read32(struct adapter *adapter, u32 addr)
_read32 = pintfhdl->io_ops._read32;
return _read32(pintfhdl, addr);
-
}
int rtw_write8(struct adapter *adapter, u32 addr, u8 val)
@@ -76,6 +75,7 @@ int rtw_write8(struct adapter *adapter, u32 addr, u8 val)
return RTW_STATUS_CODE(ret);
}
+
int rtw_write16(struct adapter *adapter, u32 addr, u16 val)
{
/* struct io_queue *pio_queue = (struct io_queue *)adapter->pio_queue; */
@@ -89,6 +89,7 @@ int rtw_write16(struct adapter *adapter, u32 addr, u16 val)
ret = _write16(pintfhdl, addr, val);
return RTW_STATUS_CODE(ret);
}
+
int rtw_write32(struct adapter *adapter, u32 addr, u32 val)
{
/* struct io_queue *pio_queue = (struct io_queue *)adapter->pio_queue; */
--
2.43.0
next prev parent reply other threads:[~2026-02-12 8:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-12 8:23 [PATCH 0/3] staging: rtl8723bs: tidy up rtw_io.c formatting Sarah Gershuni
2026-02-12 8:23 ` [PATCH 1/3] staging: rtl8723bs: remove unnecessary parentheses in rtw_io.c Sarah Gershuni
2026-02-12 16:56 ` Ethan Tidmore
2026-02-12 8:23 ` Sarah Gershuni [this message]
2026-02-12 16:56 ` [PATCH 2/3] staging: rtl8723bs: fix blank line style issues " Ethan Tidmore
2026-02-12 8:23 ` [PATCH 3/3] staging: rtl8723bs: fix long lines " Sarah Gershuni
2026-02-12 16:55 ` Ethan Tidmore
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=20260212082358.3403-3-sarah556726@gmail.com \
--to=sarah556726@gmail.com \
--cc=arthur.stupa@gmail.com \
--cc=dan.carpenter@linaro.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