[PATCH 03/11] staging: rtl8723bs: os_dep: fix spacing around operators

luka.gejak
2026-04-13T10:15:33Z

Fix spaces around operators in the os_dep directory to adhere to the
Linux kernel coding style. This resolves multiple spacing warnings
reported by checkpatch.pl.

Signed-off-by: Luka Gejak <luka.gejak@linux.dev>
---
drivers/staging/rtl8723bs/os_dep/sdio_intf.c | 2 +-
drivers/staging/rtl8723bs/os_dep/wifi_regd.c | 2 +-
2 files 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..95523c3a508b 100644
--- a/drivers/staging/rtl8723bs/os_dep/sdio_intf.c
+++ b/drivers/staging/rtl8723bs/os_dep/sdio_intf.c
@@ -77,7 +77,7 @@ static int sdio_alloc_irq(struct dvobj_priv *dvobj)

sdio_release_host(func);

- return err?_FAIL:_SUCCESS;
+ return err ? _FAIL : _SUCCESS;
}

static void sdio_free_irq(struct dvobj_priv *dvobj)
diff --git a/drivers/staging/rtl8723bs/os_dep/wifi_regd.c b/drivers/staging/rtl8723bs/os_dep/wifi_regd.c
index f9c4d487badf..ce835802c442 100644
--- a/drivers/staging/rtl8723bs/os_dep/wifi_regd.c
+++ b/drivers/staging/rtl8723bs/os_dep/wifi_regd.c
@@ -93,7 +93,7 @@ static int _rtw_reg_notifier_apply(struct wiphy *wiphy,

static const struct ieee80211_regdomain *_rtw_regdomain_select(struct
rtw_regulatory
- *reg)
+ * reg)
{
return &rtw_regdom_rd;
}
--
2.53.0