The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH v4 0/3] staging: rtl8723bs: sdio_intf.c: cleanup
@ 2026-07-08  8:48 Manuel Ebner
  2026-07-08  8:54 ` [PATCH v4 1/3] staging: rtl8723bs: sdio_intf.c: refactor function Manuel Ebner
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Manuel Ebner @ 2026-07-08  8:48 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: Manuel Ebner, linux-staging, linux-kernel

This series aims at cleaning up sdio_intf.c

[v4]
 Remove patch [v3 4/4]
  This already got patched

[v3]
 split [v2 2/3] into [v3 2/4] and [v3 3/4]

[v2]
 split patch into series of 3

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH v4 1/3] staging: rtl8723bs: sdio_intf.c: refactor function
  2026-07-08  8:48 [PATCH v4 0/3] staging: rtl8723bs: sdio_intf.c: cleanup Manuel Ebner
@ 2026-07-08  8:54 ` Manuel Ebner
  2026-07-08  8:56 ` [PATCH v4 2/3] staging: rtl8723bs: sdio_intf.c: cleanup whitespace Manuel Ebner
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Manuel Ebner @ 2026-07-08  8:54 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: manuelebner, linux-kernel, linux-staging

Remove unused argument of rtw_sdio_if1_init().

Signed-off-by: Manuel Ebner <manuelebner@mailbox.org>
---
 drivers/staging/rtl8723bs/os_dep/sdio_intf.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8723bs/os_dep/sdio_intf.c b/drivers/staging/rtl8723bs/os_dep/sdio_intf.c
index d0feb28b7043..ff58923e43f1 100644
--- a/drivers/staging/rtl8723bs/os_dep/sdio_intf.c
+++ b/drivers/staging/rtl8723bs/os_dep/sdio_intf.c
@@ -217,7 +217,7 @@ static void sd_intf_stop(struct adapter *padapter)
 }
 
 
-static struct adapter *rtw_sdio_if1_init(struct dvobj_priv *dvobj, const struct sdio_device_id  *pdid)
+static struct adapter *rtw_sdio_if1_init(struct dvobj_priv *dvobj)
 {
 	int status = _FAIL;
 	struct net_device *pnetdev;
@@ -348,7 +348,7 @@ static int rtw_drv_init(
 	if (!dvobj)
 		goto exit;
 
-	if1 = rtw_sdio_if1_init(dvobj, id);
+	if1 = rtw_sdio_if1_init(dvobj);
 	if (!if1)
 		goto free_dvobj;
 
-- 
2.54.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH v4 2/3] staging: rtl8723bs: sdio_intf.c: cleanup whitespace
  2026-07-08  8:48 [PATCH v4 0/3] staging: rtl8723bs: sdio_intf.c: cleanup Manuel Ebner
  2026-07-08  8:54 ` [PATCH v4 1/3] staging: rtl8723bs: sdio_intf.c: refactor function Manuel Ebner
@ 2026-07-08  8:56 ` Manuel Ebner
  2026-07-08  9:01 ` [PATCH v4 3/3] staging: rtl8723bs: sdio_intf.c: cleanup function Manuel Ebner
  2026-07-08 12:01 ` [PATCH v4 0/3] staging: rtl8723bs: sdio_intf.c: cleanup Greg Kroah-Hartman
  3 siblings, 0 replies; 5+ messages in thread
From: Manuel Ebner @ 2026-07-08  8:56 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: manuelebner, linux-kernel, linux-staging

Remove empty lines and add a line where appropriate.

Signed-off-by: Manuel Ebner <manuelebner@mailbox.org>
---
 drivers/staging/rtl8723bs/os_dep/sdio_intf.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/staging/rtl8723bs/os_dep/sdio_intf.c b/drivers/staging/rtl8723bs/os_dep/sdio_intf.c
index ff58923e43f1..63ec486f9a34 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)
@@ -151,6 +150,7 @@ static void sdio_deinit(struct dvobj_priv *dvobj)
 		sdio_release_host(func);
 	}
 }
+
 static struct dvobj_priv *sdio_dvobj_init(struct sdio_func *func)
 {
 	struct dvobj_priv *dvobj = NULL;
@@ -216,7 +216,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;
@@ -250,7 +249,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;
-- 
2.54.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH v4 3/3] staging: rtl8723bs: sdio_intf.c: cleanup function
  2026-07-08  8:48 [PATCH v4 0/3] staging: rtl8723bs: sdio_intf.c: cleanup Manuel Ebner
  2026-07-08  8:54 ` [PATCH v4 1/3] staging: rtl8723bs: sdio_intf.c: refactor function Manuel Ebner
  2026-07-08  8:56 ` [PATCH v4 2/3] staging: rtl8723bs: sdio_intf.c: cleanup whitespace Manuel Ebner
@ 2026-07-08  9:01 ` Manuel Ebner
  2026-07-08 12:01 ` [PATCH v4 0/3] staging: rtl8723bs: sdio_intf.c: cleanup Greg Kroah-Hartman
  3 siblings, 0 replies; 5+ messages in thread
From: Manuel Ebner @ 2026-07-08  9:01 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: manuelebner, linux-kernel, linux-staging

Reformat function declaration.

Signed-off-by: Manuel Ebner <manuelebner@mailbox.org>
---
 drivers/staging/rtl8723bs/os_dep/sdio_intf.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/rtl8723bs/os_dep/sdio_intf.c b/drivers/staging/rtl8723bs/os_dep/sdio_intf.c
index 63ec486f9a34..fd805ee74a1b 100644
--- a/drivers/staging/rtl8723bs/os_dep/sdio_intf.c
+++ b/drivers/staging/rtl8723bs/os_dep/sdio_intf.c
@@ -334,9 +334,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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH v4 0/3] staging: rtl8723bs: sdio_intf.c: cleanup
  2026-07-08  8:48 [PATCH v4 0/3] staging: rtl8723bs: sdio_intf.c: cleanup Manuel Ebner
                   ` (2 preceding siblings ...)
  2026-07-08  9:01 ` [PATCH v4 3/3] staging: rtl8723bs: sdio_intf.c: cleanup function Manuel Ebner
@ 2026-07-08 12:01 ` Greg Kroah-Hartman
  3 siblings, 0 replies; 5+ messages in thread
From: Greg Kroah-Hartman @ 2026-07-08 12:01 UTC (permalink / raw)
  To: Manuel Ebner; +Cc: linux-staging, linux-kernel

On Wed, Jul 08, 2026 at 10:48:10AM +0200, Manuel Ebner wrote:
> This series aims at cleaning up sdio_intf.c
> 
> [v4]
>  Remove patch [v3 4/4]
>   This already got patched
> 
> [v3]
>  split [v2 2/3] into [v3 2/4] and [v3 3/4]
> 
> [v2]
>  split patch into series of 3
> 

Only one of these applied to the tree due to changes sent by others in
the same area.  Please rebase those and resend.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-07-08 12:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-08  8:48 [PATCH v4 0/3] staging: rtl8723bs: sdio_intf.c: cleanup Manuel Ebner
2026-07-08  8:54 ` [PATCH v4 1/3] staging: rtl8723bs: sdio_intf.c: refactor function Manuel Ebner
2026-07-08  8:56 ` [PATCH v4 2/3] staging: rtl8723bs: sdio_intf.c: cleanup whitespace Manuel Ebner
2026-07-08  9:01 ` [PATCH v4 3/3] staging: rtl8723bs: sdio_intf.c: cleanup function Manuel Ebner
2026-07-08 12:01 ` [PATCH v4 0/3] staging: rtl8723bs: sdio_intf.c: cleanup Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox