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 b19aa26d17055b6455f436577e2e2dfcf7d3d0f4..0fd306a808c4019771c9a0a321d16aa98724989e 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 6b97e9f2a77b1a17038ff0b1a6803e24c0746b6e..f7a86eac738ea593da4d5759a3ad42aad4dc8c83 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 8e7190b9869209582e7b2ac40fd3454d07111d20..607170775fa54f15447673b430e4bbf20167b9b9 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 53f5fe210e7bbf9714d8a28bc091535467e87a16..f20b35e8d0a228a30e95ff736c00c38189373b42 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_ */