staging: wilc1000: remove typedef from the struct tstrTimerCb
authorTony Cho <tony.cho@atmel.com>
Mon, 21 Sep 2015 03:16:47 +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 tstrTimerCb and renames it to
timer_cb 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 93c4d7a2f97c1a8a368eca1f7a2eadbe281cfa55..b6d914931f16a611e3121898c8a9e703fddf8deb 100644 (file)
@@ -344,7 +344,7 @@ typedef struct {
 } tstrHostIFDelSta;
 
 /*!
- *  @struct             tstrTimerCb
+ *  @struct             timer_cb
  *  @brief             Timer callback message body
  *  @details
  *  @todo
@@ -353,9 +353,9 @@ typedef struct {
  *  @date              25 March 2012
  *  @version           1.0
  */
-typedef struct _tstrTimerCb {
+struct timer_cb {
        void *pvUsrArg;                 /*!< Private data passed at timer start */
-} tstrTimerCb;
+};
 
 /*!
  *  @struct     tstrHostIfPowerMgmtParam
@@ -429,7 +429,7 @@ union message_body {
        tstrHostIFDelSta strDelStaParam;                                /*!< Del Station message body */
        struct add_sta_param strEditStaParam;                           /*!< Edit station message body */
        /* tstrScanComplete             strScanComplete;                / *Received Async. Scan Complete message body* / */
-       tstrTimerCb strTimerCb;                                                 /*!< Timer callback message body */
+       struct timer_cb strTimerCb;                                                 /*!< Timer callback message body */
        tstrHostIfPowerMgmtParam strPowerMgmtparam;     /*!< Power Management message body */
        tstrHostIfStaInactiveT strHostIfStaInactiveT;
        tstrHostIFSetIPAddr strHostIfSetIP;
This page took 0.029193 seconds and 5 git commands to generate.