staging: wilc1000: remove typedef from the struct tstrHostIFCfgParamAttr
authorTony Cho <tony.cho@atmel.com>
Mon, 21 Sep 2015 03:16:41 +0000 (12:16 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Sep 2015 05:57:17 +0000 (22:57 -0700)
This patch removes typedef from the struct tstrHostIFCfgParamAttr and
renames it to cfg_param_attr 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 12fd43dfeeef0f39be42d90d3cdd608cbda1f6f2..78f3f76aca8ebb34c99bab7aa7a5c6f5ce5b9c21 100644 (file)
@@ -65,7 +65,7 @@ extern u8 g_wilc_initialized;
 /*****************************************************************************/
 
 /*!
- *  @struct             tstrHostIFCfgParamAttr
+ *  @struct             cfg_param_attr
  *  @brief             Structure to hold Host IF CFG Params Attributes
  *  @details
  *  @todo
@@ -74,10 +74,9 @@ extern u8 g_wilc_initialized;
  *  @date              02 April 2012
  *  @version           1.0
  */
-typedef struct _tstrHostIFCfgParamAttr {
+struct cfg_param_attr {
        tstrCfgParamVal pstrCfgParamVal;
-
-} tstrHostIFCfgParamAttr;
+};
 
 /*!
  *  @struct             tstrHostIFwpaAttr
@@ -421,7 +420,7 @@ union message_body {
        struct rcvd_net_info strRcvdNetworkInfo;                 /*!< Received Asynchronous Network Info message body */
        struct rcvd_async_info strRcvdGnrlAsyncInfo;     /*!< Received General Asynchronous Info message body */
        struct key_attr strHostIFkeyAttr;                             /*!<>*/
-       tstrHostIFCfgParamAttr strHostIFCfgParamAttr;            /*! <CFG Parameter message Body> */
+       struct cfg_param_attr strHostIFCfgParamAttr;            /*! <CFG Parameter message Body> */
        tstrHostIFSetChan strHostIFSetChan;
        tstrHostIFGetChan strHostIFGetChan;
        tstrHostIFSetBeacon strHostIFSetBeacon;                 /*!< Set beacon message body */
@@ -916,13 +915,14 @@ static s32 Handle_GetMacAddress(tstrWILC_WFIDrv *drvHandler, tstrHostIfGetMacAdd
 /**
  *  @brief Handle_CfgParam
  *  @details    Sending config packet to firmware to set CFG params
- *  @param[in]   tstrHostIFCfgParamAttr* strHostIFCfgParamAttr
+ *  @param[in]   struct cfg_param_attr *strHostIFCfgParamAttr
  *  @return     Error code.
  *  @author
  *  @date
  *  @version   1.0
  */
-static s32 Handle_CfgParam(tstrWILC_WFIDrv *drvHandler, tstrHostIFCfgParamAttr *strHostIFCfgParamAttr)
+static s32 Handle_CfgParam(tstrWILC_WFIDrv *drvHandler,
+                          struct cfg_param_attr *strHostIFCfgParamAttr)
 {
        s32 s32Error = 0;
        tstrWID strWIDList[32];
This page took 0.028686 seconds and 5 git commands to generate.