staging: rtl8188eu: rename Hal_MappingOutPipe() - style
authorMichael Straube <straube.linux@gmail.com>
Sun, 14 Oct 2018 10:17:41 +0000 (12:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 14 Oct 2018 11:33:16 +0000 (13:33 +0200)
Rename Hal_MappingOutPipe() to avoid CamelCase.
Hal_MappingOutPipe -> hal_mapping_out_pipe

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

index 3e93760..6db5c34 100644 (file)
@@ -262,7 +262,7 @@ static void three_out_pipe(struct adapter *adapter, bool wifi_cfg)
        }
 }
 
-bool Hal_MappingOutPipe(struct adapter *adapter, u8 numoutpipe)
+bool hal_mapping_out_pipe(struct adapter *adapter, u8 numoutpipe)
 {
        struct registry_priv *pregistrypriv = &adapter->registrypriv;
        bool  wifi_cfg = (pregistrypriv->wifi_spec) ? true : false;
index 8f26427..f25d52f 100644 (file)
@@ -52,7 +52,7 @@ static bool HalUsbSetQueuePipeMapping8188EUsb(struct adapter *adapt, u8 NumInPip
 
        /*  All config other than above support one Bulk IN and one Interrupt IN. */
 
-       result = Hal_MappingOutPipe(adapt, NumOutPipe);
+       result = hal_mapping_out_pipe(adapt, NumOutPipe);
 
        return result;
 }
index a2d8108..2f7bdad 100644 (file)
@@ -146,7 +146,7 @@ u8 MRateToHwRate(u8 rate);
 
 void hal_set_brate_cfg(u8 *brates, u16 *rate_cfg);
 
-bool Hal_MappingOutPipe(struct adapter *adapter, u8 numoutpipe);
+bool hal_mapping_out_pipe(struct adapter *adapter, u8 numoutpipe);
 
 void hal_init_macaddr(struct adapter *adapter);
 #endif /* __HAL_COMMON_H__ */