]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: wilc1000: rename WILC_WFI_WiphyFree
authorChaehyun Lim <chaehyun.lim@gmail.com>
Sun, 20 Sep 2015 06:51:08 +0000 (15:51 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Sep 2015 01:57:41 +0000 (18:57 -0700)
This patch replaces WILC_WFI_WiphyFree with wilc_free_wiphy to avoid
CamelCase.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_wlan.c
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
drivers/staging/wilc1000/wilc_wfi_cfgoperations.h

index 6791012858c92998c7724611aaaaccff7d77a3e4..ed6044ef5bc1a29cc43dee50350e559a070c5272 100644 (file)
@@ -2006,7 +2006,7 @@ static void __exit exit_wilc_driver(void)
                        PRINT_D(INIT_DBG, "Unregistering netdev %p\n", g_linux_wlan->strInterfaceInfo[i].wilc_netdev);
                        unregister_netdev(g_linux_wlan->strInterfaceInfo[i].wilc_netdev);
                        PRINT_D(INIT_DBG, "Freeing Wiphy...\n");
-                       WILC_WFI_WiphyFree(g_linux_wlan->strInterfaceInfo[i].wilc_netdev);
+                       wilc_free_wiphy(g_linux_wlan->strInterfaceInfo[i].wilc_netdev);
                        PRINT_D(INIT_DBG, "Freeing netdev...\n");
                        free_netdev(g_linux_wlan->strInterfaceInfo[i].wilc_netdev);
                }
index 5a95b959ef5bb684ceeb7d116b3e2b38db6d3f18..239d0fc921cf450b429cc4521066e396bcee8bca 100644 (file)
@@ -3689,7 +3689,7 @@ int WILC_WFI_DeInitHostInt(struct net_device *net)
  *  @date      01 MAR 2012
  *  @version   1.0
  */
-void WILC_WFI_WiphyFree(struct net_device *net)
+void wilc_free_wiphy(struct net_device *net)
 {
 
        PRINT_D(CFG80211_DBG, "Unregistering wiphy\n");
index 4d37c4e859e99ea905aab12f12ae8c122588b024..67b8de3fd7199a6238fcb6cdee8e5fe3bd35797c 100644 (file)
@@ -93,7 +93,7 @@ static const struct ieee80211_txrx_stypes
 
 struct wireless_dev *WILC_WFI_CfgAlloc(void);
 struct wireless_dev *WILC_WFI_WiphyRegister(struct net_device *net);
-void WILC_WFI_WiphyFree(struct net_device *net);
+void wilc_free_wiphy(struct net_device *net);
 int WILC_WFI_update_stats(struct wiphy *wiphy, u32 pktlen, u8 changed);
 int WILC_WFI_DeInitHostInt(struct net_device *net);
 int WILC_WFI_InitHostInt(struct net_device *net);