staging: wilc1000: rename u32duration in struct remain_ch
authorChaehyun Lim <chaehyun.lim@gmail.com>
Sun, 3 Jan 2016 08:35:33 +0000 (17:35 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 23:11:00 +0000 (15:11 -0800)
The patch renames u32duration to duration that is a member of struct
remain_ch. The prefix u32 shows data type of its member, but there is no
need to use u32 prefix to represent data type.

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

index 5a97a9ddb4e3ba7a61a7a52ca7893f829b6b2a73..39fa5a3c60214fca063684ae57f3c6dde53d33e6 100644 (file)
@@ -2558,7 +2558,7 @@ ERRORHANDLER:
                hif_drv->remain_on_ch_timer.data = (unsigned long)vif;
                mod_timer(&hif_drv->remain_on_ch_timer,
                          jiffies +
-                         msecs_to_jiffies(pstrHostIfRemainOnChan->u32duration));
+                         msecs_to_jiffies(pstrHostIfRemainOnChan->duration));
 
                if (hif_drv->remain_on_ch.ready)
                        hif_drv->remain_on_ch.ready(hif_drv->remain_on_ch.arg);
@@ -4083,7 +4083,7 @@ s32 wilc_remain_on_channel(struct wilc_vif *vif, u32 u32SessionID,
        msg.body.remain_on_ch.expired = RemainOnChanExpired;
        msg.body.remain_on_ch.ready = RemainOnChanReady;
        msg.body.remain_on_ch.arg = pvUserArg;
-       msg.body.remain_on_ch.u32duration = u32duration;
+       msg.body.remain_on_ch.duration = u32duration;
        msg.body.remain_on_ch.id = u32SessionID;
        msg.vif = vif;
 
index f90a530e24e611be79b33c704d91e608a95be3b6..a2f428f1db185c8838d032c5c9bbb4e8ae47c273 100644 (file)
@@ -240,7 +240,7 @@ struct ba_session_info {
 
 struct remain_ch {
        u16 ch;
-       u32 u32duration;
+       u32 duration;
        wilc_remain_on_chan_expired expired;
        wilc_remain_on_chan_ready ready;
        void *arg;