mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 18:21:24 +02:00
staging: rtl8723bs: rename EFUSE_Read1Byte() to rtw_efuse_read_1_byte()
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>
This commit is contained in:
parent
8cb5425cd8
commit
abb42e4d23
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user