staging: wilc1000: remove typedef from the struct tstrHostIFSetIPAddr
authorTony Cho <tony.cho@atmel.com>
Mon, 21 Sep 2015 03:16:50 +0000 (12:16 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Sep 2015 06:00:26 +0000 (23:00 -0700)
This patch removes typedef from the struct tstrHostIFSetIPAddr and
renames it to set_ip_addr 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 52141eb05f78d5aa3d8ed89b2eb7f77eda21e182..7b9f78a7316921b650bae7111bd557a81afed6c4 100644 (file)
@@ -374,7 +374,7 @@ struct power_mgmt_param {
 };
 
 /*!
- *  @struct             tstrHostIFSetIPAddr
+ *  @struct             set_ip_addr
  *  @brief             set IP Address message body
  *  @details
  *  @todo
@@ -383,11 +383,10 @@ struct power_mgmt_param {
  *  @date              30 August 2013
  *  @version           1.0 Description
  */
-
-typedef struct {
+struct set_ip_addr {
        u8 *au8IPAddr;
        u8 idx;
-} tstrHostIFSetIPAddr;
+};
 
 /*!
  *  @struct     sta_inactive_t
@@ -431,7 +430,7 @@ union message_body {
        struct timer_cb strTimerCb;                                                 /*!< Timer callback message body */
        struct power_mgmt_param strPowerMgmtparam;     /*!< Power Management message body */
        struct sta_inactive_t strHostIfStaInactiveT;
-       tstrHostIFSetIPAddr strHostIfSetIP;
+       struct set_ip_addr strHostIfSetIP;
        tstrHostIfSetDrvHandler strHostIfSetDrvHandler;
        tstrHostIFSetMulti strHostIfSetMulti;
        tstrHostIfSetOperationMode strHostIfSetOperationMode;
This page took 0.028085 seconds and 5 git commands to generate.