staging: r8188eu: convert two functions from s32 to int

Convert the return type of fw_free_to_go() and
rtl8188e_firmware_download() from s32 to the more common int.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20220107103620.15648-13-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Michael Straube
2022-01-07 11:36:13 +01:00
committed by Greg Kroah-Hartman
parent 843e069870
commit 08c6f78e92
2 changed files with 4 additions and 4 deletions

View File

@@ -467,7 +467,7 @@ void rtw_reset_8051(struct adapter *padapter)
rtw_write8(padapter, REG_SYS_FUNC_EN + 1, val8 | (BIT(2)));
}
static s32 fw_free_to_go(struct adapter *padapter)
static int fw_free_to_go(struct adapter *padapter)
{
u32 counter = 0;
u32 value32;
@@ -539,9 +539,9 @@ static int load_firmware(struct rt_firmware *rtfw, struct device *device)
return ret;
}
s32 rtl8188e_firmware_download(struct adapter *padapter)
int rtl8188e_firmware_download(struct adapter *padapter)
{
s32 rtStatus = _SUCCESS;
int rtStatus = _SUCCESS;
u8 writeFW_retry = 0;
u32 fwdl_start_time;
struct dvobj_priv *dvobj = adapter_to_dvobj(padapter);

View File

@@ -250,7 +250,7 @@ struct hal_data_8188e {
};
/* rtl8188e_hal_init.c */
s32 rtl8188e_firmware_download(struct adapter *padapter);
int rtl8188e_firmware_download(struct adapter *padapter);
void rtw_reset_8051(struct adapter *padapter);
s32 InitLLTTable(struct adapter *padapter, u8 txpktbuf_bndy);