staging: wilc1000: remove typedef from the struct tstrHostIFGetChan
authorTony Cho <tony.cho@atmel.com>
Mon, 21 Sep 2015 03:16:43 +0000 (12:16 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Sep 2015 05:59:09 +0000 (22:59 -0700)
This patch removes typedef from the struct tstrHostIFGetChan and renames
it to get_channel in order to comply with the Linux coding style.

Signed-off-by: Tony Cho <tony.cho@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c

index 5d1b75a14f5ea4a0cc13f8a374cb48655466b977..ead3185d10421c927abcc36c6b66543492b5feaf 100644 (file)
@@ -229,7 +229,7 @@ struct set_channel {
 };
 
 /*!
- *  @struct             tstrHostIFSetChan
+ *  @struct             get_channel
  *  @brief             Get Channel  message body
  *  @details
  *  @todo
@@ -238,9 +238,9 @@ struct set_channel {
  *  @date              01 Jule 2012
  *  @version           1.0
  */
-typedef struct _tstrHostIFGetChan {
+struct get_channel {
        u8 u8GetChan;
-} tstrHostIFGetChan;
+};
 
 /*!
  *  @struct             tstrScanComplete
@@ -422,7 +422,7 @@ union message_body {
        struct key_attr strHostIFkeyAttr;                             /*!<>*/
        struct cfg_param_attr strHostIFCfgParamAttr;            /*! <CFG Parameter message Body> */
        struct set_channel strHostIFSetChan;
-       tstrHostIFGetChan strHostIFGetChan;
+       struct get_channel strHostIFGetChan;
        tstrHostIFSetBeacon strHostIFSetBeacon;                 /*!< Set beacon message body */
        tstrHostIFDelBeacon strHostIFDelBeacon;                 /*!< Del beacon message body */
        tstrWILC_AddStaParam strAddStaParam;                    /*!< Add station message body */
This page took 0.032573 seconds and 5 git commands to generate.