From: Chaehyun Lim Date: Sun, 20 Sep 2015 06:51:08 +0000 (+0900) Subject: staging: wilc1000: rename WILC_WFI_WiphyFree X-Git-Tag: KARO-TX6UL-2015-11-03~34^2~1876 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=96da20a9a31a2acec0f9bd1c6681dce6c2c40096;p=karo-tx-linux.git staging: wilc1000: rename WILC_WFI_WiphyFree This patch replaces WILC_WFI_WiphyFree with wilc_free_wiphy to avoid CamelCase. Signed-off-by: Chaehyun Lim Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c index 6791012858c9..ed6044ef5bc1 100644 --- a/drivers/staging/wilc1000/linux_wlan.c +++ b/drivers/staging/wilc1000/linux_wlan.c @@ -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); } diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c index 5a95b959ef5b..239d0fc921cf 100644 --- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c +++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c @@ -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"); diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.h b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.h index 4d37c4e859e9..67b8de3fd719 100644 --- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.h +++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.h @@ -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);