]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: wilc1000: rename WILC_WFI_WiphyRegister
authorChaehyun Lim <chaehyun.lim@gmail.com>
Sun, 20 Sep 2015 06:51:09 +0000 (15:51 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Sep 2015 02:02:10 +0000 (19:02 -0700)
This patch replaces WILC_WFI_WiphyRegister with wilc_create_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 ed6044ef5bc1a29cc43dee50350e559a070c5272..4534fb927be837befee741692b4dbea69be2be84 100644 (file)
@@ -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 */
index 239d0fc921cf450b429cc4521066e396bcee8bca..e51745e74dc76e6e948e1dcb53e53fbb55a250b0 100644 (file)
@@ -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;
index 67b8de3fd7199a6238fcb6cdee8e5fe3bd35797c..579bf2b129b11a59a280fc4534543eaa00f2084e 100644 (file)
@@ -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);