]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
staging: rtl8723bs: fix whitespace issues in sdio_halinit.c
authorJosh Hesketh <josh.hesketh@gmail.com>
Sun, 12 Apr 2026 15:06:32 +0000 (16:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Apr 2026 11:01:55 +0000 (05:01 -0600)
Remove spaces before tabs in comments and fix extra spaces to
address checkpatch warnings.

Signed-off-by: Josh Hesketh <josh.hesketh@gmail.com>
Reviewed-by: Luka Gejak <luka.gejak@linux.dev>
Link: https://patch.msgid.link/20260412150633.12071-2-josh.hesketh@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/sdio_halinit.c

index c803d97b1eeb842529b4089753d30d8561c855da..9a73da0d205b0e0b9b148788f1afb0e2e8fbb065 100644 (file)
@@ -817,7 +817,7 @@ u32 rtl8723bs_hal_init(struct adapter *padapter)
 
 /*  */
 /*  Description: */
-/*     RTL8723e card disable power sequence v003 which suggested by Scott. */
+/*     RTL8723e card disable power sequence v003 which suggested by Scott. */
 /*  */
 /*  First created by tynli. 2011.01.28. */
 /*  */
@@ -829,7 +829,7 @@ static void CardDisableRTL8723BSdio(struct adapter *padapter)
        /*  Run LPS WL RFOFF flow */
        HalPwrSeqCmdParsing(padapter, PWR_CUT_ALL_MSK, PWR_FAB_ALL_MSK, PWR_INTF_SDIO_MSK, rtl8723B_enter_lps_flow);
 
-       /*      ==== Reset digital sequence   ====== */
+       /*      ==== Reset digital sequence   ====== */
 
        val = rtw_read8(padapter, REG_MCUFWDL);
        if ((val & RAM_DL_SEL) && padapter->bFWReady) /* 8051 RAM code */
@@ -852,7 +852,7 @@ static void CardDisableRTL8723BSdio(struct adapter *padapter)
        val |= BIT(0);
        rtw_write8(padapter, REG_RSV_CTRL + 1, val);
 
-       /*      ==== Reset digital sequence end ====== */
+       /*      ==== Reset digital sequence end ====== */
 
        bMacPwrCtrlOn = false;  /*  Disable CMD53 R/W */
        rtw_hal_set_hwreg(padapter, HW_VAR_APFM_ON_MAC, &bMacPwrCtrlOn);
@@ -954,13 +954,13 @@ void rtl8723bs_interface_configure(struct adapter *padapter)
 }
 
 /*  */
-/*     Description: */
-/*             We should set Efuse cell selection to WiFi cell in default. */
+/*     Description: */
+/*             We should set Efuse cell selection to WiFi cell in default. */
 /*  */
-/*     Assumption: */
-/*             PASSIVE_LEVEL */
+/*     Assumption: */
+/*             PASSIVE_LEVEL */
 /*  */
-/*     Added by Roger, 2010.11.23. */
+/*     Added by Roger, 2010.11.23. */
 /*  */
 static void _EfuseCellSel(struct adapter *padapter)
 {
@@ -1046,7 +1046,7 @@ static void _ReadEfuseInfo8723BS(struct adapter *padapter)
 static void _ReadPROMContent(struct adapter *padapter)
 {
        struct eeprom_priv *pEEPROM = GET_EEPROM_EFUSE_PRIV(padapter);
-       u8      eeValue;
+       u8 eeValue;
 
        eeValue = rtw_read8(padapter, REG_9346CR);
        /*  To check system boot selection. */
@@ -1057,11 +1057,11 @@ static void _ReadPROMContent(struct adapter *padapter)
 }
 
 /*  */
-/*     Description: */
-/*             Read HW adapter information by E-Fuse or EEPROM according CR9346 reported. */
+/*     Description: */
+/*             Read HW adapter information by E-Fuse or EEPROM according CR9346 reported. */
 /*  */
-/*     Assumption: */
-/*             PASSIVE_LEVEL (SDIO interface) */
+/*     Assumption: */
+/*             PASSIVE_LEVEL (SDIO interface) */
 /*  */
 /*  */
 static s32 _ReadAdapterInfo8723BS(struct adapter *padapter)
@@ -1174,14 +1174,14 @@ void SetHwRegWithBuf8723B(struct adapter *padapter, u8 variable, u8 *pbuf, int l
 }
 
 /*  */
-/*     Description: */
-/*             Query setting of specified variable. */
+/*     Description: */
+/*             Query setting of specified variable. */
 /*  */
 u8 GetHalDefVar8723BSDIO(
        struct adapter *Adapter, enum hal_def_variable eVariable, void *pValue
 )
 {
-       u8      bResult = _SUCCESS;
+       u8 bResult = _SUCCESS;
 
        switch (eVariable) {
        case HAL_DEF_IS_SUPPORT_ANT_DIV: