From: Manuel Ebner <manuelebner@mailbox.org>
To: manuelebner@mailbox.org
Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org,
linux-staging@lists.linux.dev, omer.e.idrissi@gmail.com
Subject: [PATCH v2 2/3] staging: cleanup whitespace of sdio_intf.c
Date: Fri, 22 May 2026 13:57:02 +0200 [thread overview]
Message-ID: <20260522115701.190482-2-manuelebner@mailbox.org> (raw)
In-Reply-To: <20260522114317.189368-4-manuelebner@mailbox.org>
remove empty lines, add lines where appropriate
reformat function declaration
Signed-off-by: Manuel Ebner <manuelebner@mailbox.org>
---
drivers/staging/rtl8723bs/os_dep/sdio_intf.c | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/rtl8723bs/os_dep/sdio_intf.c b/drivers/staging/rtl8723bs/os_dep/sdio_intf.c
index 4439ded602b6..a78fb4bc7155 100644
--- a/drivers/staging/rtl8723bs/os_dep/sdio_intf.c
+++ b/drivers/staging/rtl8723bs/os_dep/sdio_intf.c
@@ -47,7 +47,6 @@ static void sd_sync_int_hdl(struct sdio_func *func)
{
struct dvobj_priv *psdpriv;
-
psdpriv = sdio_get_drvdata(func);
if (!psdpriv->if1)
@@ -168,6 +167,7 @@ static void sdio_deinit(struct dvobj_priv *dvobj)
sdio_release_host(func);
}
}
+
static struct dvobj_priv *sdio_dvobj_init(struct sdio_func *func)
{
int status = _FAIL;
@@ -236,7 +236,6 @@ static void sd_intf_stop(struct adapter *padapter)
rtw_hal_disable_interrupt(padapter);
}
-
static struct adapter *rtw_sdio_if1_init(struct dvobj_priv *dvobj)
{
int status = _FAIL;
@@ -270,7 +269,6 @@ static struct adapter *rtw_sdio_if1_init(struct dvobj_priv *dvobj)
/* 4 3.1 set hardware operation functions */
rtw_set_hal_ops(padapter);
-
/* 3 5. initialize Chip version */
padapter->intf_start = &sd_intf_start;
padapter->intf_stop = &sd_intf_stop;
@@ -356,9 +354,8 @@ static void rtw_sdio_if1_deinit(struct adapter *if1)
* notes: drv_init() is called when the bus driver has located a card for us to support.
* We accept the new device by returning 0.
*/
-static int rtw_drv_init(
- struct sdio_func *func,
- const struct sdio_device_id *id)
+static int rtw_drv_init(struct sdio_func *func,
+ const struct sdio_device_id *id)
{
int status = _FAIL;
struct adapter *if1 = NULL;
--
2.54.0
next prev parent reply other threads:[~2026-05-22 11:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-22 11:43 [PATCH v2 0/3] staging: cleanup of sdio_intf.c Manuel Ebner
2026-05-22 11:55 ` [PATCH v2 1/3] staging: sdio_intf.c: refactor function Manuel Ebner
2026-05-22 11:57 ` Manuel Ebner [this message]
2026-05-23 4:17 ` [PATCH v2 2/3] staging: cleanup whitespace of sdio_intf.c Greg KH
2026-05-22 11:58 ` [PATCH v2 3/3] staging: cleanup braces " Manuel Ebner
2026-05-22 13:02 ` [PATCH v2 0/3] staging: cleanup " Dan Carpenter
2026-05-22 15:33 ` Manuel Ebner
2026-05-22 16:53 ` Dan Carpenter
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=20260522115701.190482-2-manuelebner@mailbox.org \
--to=manuelebner@mailbox.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=omer.e.idrissi@gmail.com \
/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