OSDN Git Service

staging: wilc1000: rename WILC_WFI_stats to avoid uppercase
authorAjay Singh <ajay.kathat@microchip.com>
Wed, 25 Apr 2018 17:18:18 +0000 (22:48 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Apr 2018 07:43:04 +0000 (09:43 +0200)
Cleanup patch to have struct name as per linux coding style.

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

index 0716763..35bc4df 100644 (file)
@@ -50,7 +50,7 @@ enum stats_flags {
        WILC_WFI_TX_PKT = BIT(1),
 };
 
-struct WILC_WFI_stats {
+struct wilc_wfi_stats {
        unsigned long rx_packets;
        unsigned long tx_packets;
        unsigned long rx_bytes;
@@ -119,7 +119,7 @@ struct wilc_priv {
        struct napi_struct napi;
        struct host_if_drv *hif_drv;
        struct host_if_pmkid_attr pmkid_list;
-       struct WILC_WFI_stats netstats;
+       struct wilc_wfi_stats netstats;
        u8 wep_key[4][WLAN_KEY_LEN_WEP104];
        u8 wep_key_len[4];
        /* The real interface that the monitor is on */