From: Chaehyun Lim Date: Sun, 20 Sep 2015 06:51:09 +0000 (+0900) Subject: staging: wilc1000: rename WILC_WFI_WiphyRegister X-Git-Tag: KARO-TX6UL-2015-11-03~34^2~1875 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8459fd54aa3ac145ba16a2b9cbc76ab5b99b4d32;p=karo-tx-linux.git staging: wilc1000: rename WILC_WFI_WiphyRegister This patch replaces WILC_WFI_WiphyRegister with wilc_create_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 ed6044ef5bc1..4534fb927be8 100644 --- a/drivers/staging/wilc1000/linux_wlan.c +++ b/drivers/staging/wilc1000/linux_wlan.c @@ -1883,7 +1883,7 @@ int wilc_netdev_init(void) { struct wireless_dev *wdev; /*Register WiFi*/ - wdev = WILC_WFI_WiphyRegister(ndev); + wdev = wilc_create_wiphy(ndev); #ifdef WILC_SDIO /* set netdev, tony */ diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c index 239d0fc921cf..e51745e74dc7 100644 --- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c +++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c @@ -3519,7 +3519,7 @@ _fail_: } /** - * @brief WILC_WFI_WiphyRegister + * @brief wilc_create_wiphy * @details Registering of the wiphy structure and interface modes * @param[in] NONE * @return NONE @@ -3527,7 +3527,7 @@ _fail_: * @date 01 MAR 2012 * @version 1.0 */ -struct wireless_dev *WILC_WFI_WiphyRegister(struct net_device *net) +struct wireless_dev *wilc_create_wiphy(struct net_device *net) { struct wilc_priv *priv; struct wireless_dev *wdev; diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.h b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.h index 67b8de3fd719..579bf2b129b1 100644 --- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.h +++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.h @@ -92,7 +92,7 @@ static const struct ieee80211_txrx_stypes #define WILC_WFI_DWELL_ACTIVE 40 struct wireless_dev *WILC_WFI_CfgAlloc(void); -struct wireless_dev *WILC_WFI_WiphyRegister(struct net_device *net); +struct wireless_dev *wilc_create_wiphy(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);