staging: wilc1000: rename WILC_WFI_mgmt_rx() to avoid camelCase
authorAjay Singh <ajay.kathat@microchip.com>
Mon, 26 Feb 2018 16:31:59 +0000 (22:01 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Mar 2018 16:22:28 +0000 (17:22 +0100)
Fix "Avoid camelCase" issue found by checkpatch.pl script.

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

index cf746f2462cded6f85a0e55db583ec5cea3fdf60..fe19bf3ca0cb65993bf7df1958f13201aeaf3bc0 100644 (file)
@@ -1149,7 +1149,7 @@ void wilc_frmw_to_linux(struct wilc *wilc, u8 *buff, u32 size, u32 pkt_offset)
        }
 }
 
-void WILC_WFI_mgmt_rx(struct wilc *wilc, u8 *buff, u32 size)
+void wilc_wfi_mgmt_rx(struct wilc *wilc, u8 *buff, u32 size)
 {
        int i = 0;
        struct wilc_vif *vif;
index 3337fb26c8e295ddda200af4905a36a2a2960230..d62c4f1cddc66e7c03fe104a6d5e36075d5a8f9f 100644 (file)
@@ -230,7 +230,7 @@ void wilc_netdev_cleanup(struct wilc *wilc);
 int wilc_netdev_init(struct wilc **wilc, struct device *dev, int io_type,
                     int gpio, const struct wilc_hif_func *ops);
 void wilc1000_wlan_deinit(struct net_device *dev);
-void WILC_WFI_mgmt_rx(struct wilc *wilc, u8 *buff, u32 size);
+void wilc_wfi_mgmt_rx(struct wilc *wilc, u8 *buff, u32 size);
 int wilc_wlan_get_firmware(struct net_device *dev);
 int wilc_wlan_set_bssid(struct net_device *wilc_netdev, u8 *bssid, u8 mode);
 
index f7627856b8894d4d71a9f87f364c62d3b69ca523..74b80ad7a5055afa898d6659f597d875137a8784 100644 (file)
@@ -815,7 +815,7 @@ static void wilc_wlan_handle_rxq(struct wilc *wilc)
                                                IS_MANAGMEMENT_CALLBACK |
                                                IS_MGMT_STATUS_SUCCES);
 
-                               WILC_WFI_mgmt_rx(wilc, &buffer[offset + HOST_HDR_OFFSET], pkt_len);
+                               wilc_wfi_mgmt_rx(wilc, &buffer[offset + HOST_HDR_OFFSET], pkt_len);
                        } else {
                                if (!is_cfg_packet) {
                                        if (pkt_len > 0) {