]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
staging: rtl8723bs: rename EFUSE_Read1Byte() to rtw_efuse_read_1_byte()
authorLinus Probert <linus.probert@gmail.com>
Fri, 3 Apr 2026 22:33:23 +0000 (00:33 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Apr 2026 11:01:53 +0000 (05:01 -0600)
Renames EFUSE_Read1Byte to rtw_efuse_read_1_byte in order to conform to
kernel code style.

Discovered using checkpatch.pl tool.

Signed-off-by: Linus Probert <linus.probert@gmail.com>
Reviewed-by: Ethan Tidmore <ethantidmore06@gmail.com>
Link: https://patch.msgid.link/20260403223327.1831215-4-linus.probert@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_efuse.c
drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c
drivers/staging/rtl8723bs/include/rtw_efuse.h

index a7b120cc70a3fa35264bce88e3ce8b4656e401cc..d6212b3b0b1d623267b49539af7aecd3f90447a9 100644 (file)
@@ -26,7 +26,7 @@ rtw_efuse_calculate_word_counts(u8 word_en)
 }
 
 /*-----------------------------------------------------------------------------
- * Function:   EFUSE_Read1Byte
+ * Function:   rtw_efuse_read_1_byte
  *
  * Overview:   Copy from WMAC fot EFUSE read 1 byte.
  *
@@ -42,7 +42,7 @@ rtw_efuse_calculate_word_counts(u8 word_en)
  *
  */
 u8
-EFUSE_Read1Byte(
+rtw_efuse_read_1_byte(
 struct adapter *Adapter,
 u16            Address)
 {
@@ -79,7 +79,7 @@ u16           Address)
        } else
                return 0xFF;
 
-} /* EFUSE_Read1Byte */
+} /* rtw_efuse_read_1_byte */
 
 /*  11/16/2008 MH Read one byte from real Efuse. */
 u8
index 355167883f08c0a57dd4deedbc027c5085d3412d..941c2ebef9e217d7b64479244114c0d95d1dc0e8 100644 (file)
@@ -1559,7 +1559,8 @@ void Hal_ReadRFGainOffset(
 
        if (!AutoloadFail) {
                Adapter->eeprompriv.EEPROMRFGainOffset = PROMContent[EEPROM_RF_GAIN_OFFSET];
-               Adapter->eeprompriv.EEPROMRFGainVal = EFUSE_Read1Byte(Adapter, EEPROM_RF_GAIN_VAL);
+               Adapter->eeprompriv.EEPROMRFGainVal = rtw_efuse_read_1_byte(Adapter,
+                                                                           EEPROM_RF_GAIN_VAL);
        } else {
                Adapter->eeprompriv.EEPROMRFGainOffset = 0;
                Adapter->eeprompriv.EEPROMRFGainVal = 0xFF;
index b8cd9e694f562baf4f3183147be448dac3bd75fd..7b78fd5e583be04d75c6d8ea66f88b0211e7fd11 100644 (file)
@@ -71,7 +71,7 @@ struct efuse_hal {
 u8 rtw_efuse_calculate_word_counts(u8 word_en);
 u8 rtw_efuse_one_byte_read(struct adapter *padapter, u16 addr, u8 *data);
 
-u8 EFUSE_Read1Byte(struct adapter *padapter, u16 Address);
+u8 rtw_efuse_read_1_byte(struct adapter *padapter, u16 Address);
 void EFUSE_ShadowMapUpdate(struct adapter *padapter, u8 efuseType);
 void EFUSE_ShadowRead(struct adapter *padapter, u8 Type, u16 Offset, u32 *Value);
 void Rtw_Hal_ReadMACAddrFromFile(struct adapter *padapter);