staging: wilc1000: remove typedef from enum tenuConnectSts
authorChaehyun Lim <chaehyun.lim@gmail.com>
Thu, 3 Mar 2016 05:28:24 +0000 (14:28 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Mar 2016 01:52:13 +0000 (17:52 -0800)
This patch removes typedef from enum tenuConnectSts and renames it to
connect_status to avoid camelcase.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/coreconfigurator.h

index 63eca24..076e06a 100644 (file)
@@ -50,7 +50,7 @@
 #define MAKE_WORD16(lsb, msb) ((((u16)(msb) << 8) & 0xFF00) | (lsb))
 #define MAKE_WORD32(lsw, msw) ((((u32)(msw) << 16) & 0xFFFF0000) | (lsw))
 
-typedef enum {
+enum connect_status {
        SUCCESSFUL_STATUSCODE    = 0,
        UNSPEC_FAIL              = 1,
        UNSUP_CAP                = 10,
@@ -68,7 +68,7 @@ typedef enum {
        SHORT_SLOT_UNSUP         = 25,
        OFDM_DSSS_UNSUP          = 26,
        CONNECT_STS_FORCE_16_BIT = 0xFFFF
-} tenuConnectSts;
+};
 
 typedef struct {
        u8 u8Full;