staging: wilc1000: rename num_reg_frame macro to have uppercase in macro name
authorAjay Singh <ajay.kathat@microchip.com>
Wed, 25 Apr 2018 17:18:19 +0000 (22:48 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Apr 2018 07:43:04 +0000 (09:43 +0200)
Cleanup patch to follow 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 35bc4df9132ad5b828f162b15868dd44bb6a480c..4bc1899da1716fe921bceeab5d7ae8fe2481320d 100644 (file)
@@ -65,7 +65,7 @@ struct wilc_wfi_stats {
  * packets in and out, so there is place for a packet
  */
 
-#define num_reg_frame 2
+#define NUM_REG_FRAME 2
 
 struct wilc_wfi_key {
        u8 *key;
@@ -146,7 +146,7 @@ struct wilc_vif {
        u8 iftype;
        int monitor_flag;
        int mac_opened;
-       struct frame_reg frame_reg[num_reg_frame];
+       struct frame_reg frame_reg[NUM_REG_FRAME];
        struct net_device_stats netstats;
        struct wilc *wilc;
        u8 src_addr[ETH_ALEN];