staging: rtl8188eu: rename rtw_IOL_applied
authorMichael Straube <straube.linux@gmail.com>
Sat, 4 Aug 2018 14:35:40 +0000 (16:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 5 Aug 2018 14:23:28 +0000 (16:23 +0200)
Rename rtw_IOL_applied to be all lowercase.
rtw_IOL_applied -> rtw_iol_applied

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_efuse.c
drivers/staging/rtl8188eu/core/rtw_iol.c
drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c
drivers/staging/rtl8188eu/include/rtw_iol.h

index b19aa26..0fd306a 100644 (file)
@@ -298,7 +298,7 @@ static s32 iol_read_efuse(struct adapter *padapter, u8 txpktbuf_bndy, u16 offset
 
 void efuse_ReadEFuse(struct adapter *Adapter, u8 efuseType, u16 _offset, u16 _size_byte, u8 *pbuf)
 {
-       if (rtw_IOL_applied(Adapter)) {
+       if (rtw_iol_applied(Adapter)) {
                rtw_hal_power_on(Adapter);
                iol_mode_enable(Adapter, 1);
                iol_read_efuse(Adapter, 0, _offset, _size_byte, pbuf);
index 6b97e9f..f7a86ea 100644 (file)
@@ -7,7 +7,7 @@
 
 #include <rtw_iol.h>
 
-bool rtw_IOL_applied(struct adapter *adapter)
+bool rtw_iol_applied(struct adapter *adapter)
 {
        if (adapter->registrypriv.fw_iol == 1)
                return true;
index 8e7190b..6071707 100644 (file)
@@ -75,7 +75,7 @@ s32 rtl8188e_iol_efuse_patch(struct adapter *padapter)
        s32     result = _SUCCESS;
 
        DBG_88E("==> %s\n", __func__);
-       if (rtw_IOL_applied(padapter)) {
+       if (rtw_iol_applied(padapter)) {
                iol_mode_enable(padapter, 1);
                result = iol_execute(padapter, CMD_READ_EFUSE_MAP);
                if (result == _SUCCESS)
@@ -207,7 +207,7 @@ s32 InitLLTTable(struct adapter *padapter, u8 txpktbuf_bndy)
        u32     i;
        u32     Last_Entry_Of_TxPktBuf = LAST_ENTRY_OF_TX_PKT_BUFFER;/*  176, 22k */
 
-       if (rtw_IOL_applied(padapter)) {
+       if (rtw_iol_applied(padapter)) {
                status = iol_InitLLTTable(padapter, txpktbuf_bndy);
        } else {
                for (i = 0; i < (txpktbuf_bndy - 1); i++) {
index 53f5fe2..f20b35e 100644 (file)
@@ -10,6 +10,6 @@
 #include <osdep_service.h>
 #include <drv_types.h>
 
-bool rtw_IOL_applied(struct adapter  *adapter);
+bool rtw_iol_applied(struct adapter *adapter);
 
 #endif /* __RTW_IOL_H_ */