mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
staging: rtl8723bs: rename EFUSE_ShadowRead() to rtw_efuse_shadow_read()
Renames EFUSE_ShadowRead to rtw_efuse_shadow_read 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-6-linus.probert@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
3f188a336f
commit
7a590f2660
|
|
@ -234,7 +234,7 @@ void rtw_efuse_shadow_map_update(struct adapter *padapter, u8 efuseType)
|
|||
|
||||
|
||||
/*-----------------------------------------------------------------------------
|
||||
* Function: EFUSE_ShadowRead
|
||||
* Function: rtw_efuse_shadow_read
|
||||
*
|
||||
* Overview: Read from efuse init map !!!!!
|
||||
*
|
||||
|
|
@ -249,7 +249,7 @@ void rtw_efuse_shadow_map_update(struct adapter *padapter, u8 efuseType)
|
|||
* 11/12/2008 MHC Create Version 0.
|
||||
*
|
||||
*/
|
||||
void EFUSE_ShadowRead(struct adapter *padapter, u8 Type, u16 Offset, u32 *Value)
|
||||
void rtw_efuse_shadow_read(struct adapter *padapter, u8 Type, u16 Offset, u32 *Value)
|
||||
{
|
||||
if (Type == 1)
|
||||
efuse_ShadowRead1Byte(padapter, Offset, (u8 *)Value);
|
||||
|
|
@ -258,4 +258,4 @@ void EFUSE_ShadowRead(struct adapter *padapter, u8 Type, u16 Offset, u32 *Value)
|
|||
else if (Type == 4)
|
||||
efuse_ShadowRead4Byte(padapter, Offset, (u32 *)Value);
|
||||
|
||||
} /* EFUSE_ShadowRead*/
|
||||
} /* rtw_efuse_shadow_read*/
|
||||
|
|
|
|||
|
|
@ -574,7 +574,7 @@ static bool HalDetectPwrDownMode(struct adapter *Adapter)
|
|||
struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(Adapter);
|
||||
|
||||
|
||||
EFUSE_ShadowRead(Adapter, 1, 0x7B/*EEPROM_RF_OPT3_92C*/, (u32 *)&tmpvalue);
|
||||
rtw_efuse_shadow_read(Adapter, 1, 0x7B/*EEPROM_RF_OPT3_92C*/, (u32 *)&tmpvalue);
|
||||
|
||||
/* 2010/08/25 MH INF priority > PDN Efuse value. */
|
||||
if (tmpvalue & BIT4 && pwrctrlpriv->reg_pdnmode)
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ u8 rtw_efuse_one_byte_read(struct adapter *padapter, u16 addr, u8 *data);
|
|||
|
||||
u8 rtw_efuse_read_1_byte(struct adapter *padapter, u16 Address);
|
||||
void rtw_efuse_shadow_map_update(struct adapter *padapter, u8 efuseType);
|
||||
void EFUSE_ShadowRead(struct adapter *padapter, u8 Type, u16 Offset, u32 *Value);
|
||||
void rtw_efuse_shadow_read(struct adapter *padapter, u8 Type, u16 Offset, u32 *Value);
|
||||
void Rtw_Hal_ReadMACAddrFromFile(struct adapter *padapter);
|
||||
u32 Rtw_Hal_readPGDataFromConfigFile(struct adapter *padapter);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user