staging: wilc1000: rename WILC_WFI_deinit_mon_interface to avoid uppercase for functi...
authorAjay Singh <ajay.kathat@microchip.com>
Wed, 2 May 2018 07:13:38 +0000 (12:43 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 May 2018 20:56:35 +0000 (13:56 -0700)
Changes to avoid the use of uppercase for function name.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_mon.c
drivers/staging/wilc1000/linux_wlan.c
drivers/staging/wilc1000/wilc_wfi_cfgoperations.h

index 1ee9ca370ff85b75a2a14799943233158ee9e854..a08ee9c37743e71bd7be9567a512290f08fe11be 100644 (file)
@@ -252,7 +252,7 @@ struct net_device *wilc_wfi_init_mon_interface(const char *name,
        return wilc_wfi_mon;
 }
 
-int WILC_WFI_deinit_mon_interface(void)
+int wilc_wfi_deinit_mon_interface(void)
 {
        bool rollback_lock = false;
 
index f66704d7aaa8a05eb3d7f1ff7836023d10d0910d..4208548bb5dfa3cbe68ab754b9aeed5846f0916b 100644 (file)
@@ -1012,7 +1012,7 @@ static int wilc_mac_close(struct net_device *ndev)
                netdev_dbg(ndev, "Deinitializing wilc1000\n");
                wl->close = 1;
                wilc_wlan_deinitialize(ndev);
-               WILC_WFI_deinit_mon_interface();
+               wilc_wfi_deinit_mon_interface();
        }
 
        vif->mac_opened = 0;
index f41ce84218de8f51d37f813b0bc09de22cc028d3..c1a2421305436908b03a10d5db719e332118579e 100644 (file)
@@ -8,7 +8,7 @@ void wilc_free_wiphy(struct net_device *net);
 int wilc_deinit_host_int(struct net_device *net);
 int wilc_init_host_int(struct net_device *net);
 void wilc_wfi_monitor_rx(u8 *buff, u32 size);
-int WILC_WFI_deinit_mon_interface(void);
+int wilc_wfi_deinit_mon_interface(void);
 struct net_device *wilc_wfi_init_mon_interface(const char *name,
                                               struct net_device *real_dev);
 void wilc_mgmt_frame_register(struct wiphy *wiphy, struct wireless_dev *wdev,