mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
staging: r8188eu: merge ReadEFuseByIC into rtl8188e_ReadEFuse
The rtl8188e_ReadEFuse function is just a wrapper to call ReadEFuseByIC. Copy ReadEFuseByIC into rtl8188e_ReadEFuse and remove ReadEFuseByIC. Signed-off-by: Martin Kaiser <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
1 parent
3c1178680b
commit
e1ebb0d6a1
1 file changed
+1
-6
@@ -531,7 +531,7 @@ exit:
|
||||
kfree(eFuseWord);
|
||||
}
|
||||
|
||||
static void ReadEFuseByIC(struct adapter *Adapter, u16 _offset, u16 _size_byte, u8 *pbuf)
|
||||
void rtl8188e_ReadEFuse(struct adapter *Adapter, u16 _offset, u16 _size_byte, u8 *pbuf)
|
||||
{
|
||||
int ret = _FAIL;
|
||||
if (rtw_IOL_applied(Adapter)) {
|
||||
@@ -548,11 +548,6 @@ static void ReadEFuseByIC(struct adapter *Adapter, u16 _offset, u16 _size_byte,
|
||||
Hal_EfuseReadEFuse88E(Adapter, _offset, _size_byte, pbuf);
|
||||
}
|
||||
|
||||
void rtl8188e_ReadEFuse(struct adapter *Adapter, u16 _offset, u16 _size_byte, u8 *pbuf)
|
||||
{
|
||||
ReadEFuseByIC(Adapter, _offset, _size_byte, pbuf);
|
||||
}
|
||||
|
||||
void rtl8188e_read_chip_version(struct adapter *padapter)
|
||||
{
|
||||
u32 value32;
|
||||
|
||||
Reference in new issue
Block a user