diff options
author | Shraddha Barke <shraddha.6596@gmail.com> | 2015-10-21 20:19:18 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-24 18:33:17 -0700 |
commit | 34b8dae75fd52e5216456edbaee401f62c8024f5 (patch) | |
tree | 9b54c40aac64766ffe4e337bc0a91cc5c8a68f26 /drivers/staging/rtl8192u | |
parent | 4b6a8799f341820e7327fb534f130c7f82fb6356 (diff) | |
download | linux-34b8dae75fd52e5216456edbaee401f62c8024f5.tar.gz |
Staging: rtl8192u: Eliminate use of MSECS macro
Use msecs_to_jiffies instead of driver specific macro
MSECS. This is done using Coccinelle and semantic
patch used for this is as follows:
@@expression t;@@
- MSECS(t)
+ msecs_to_jiffies(t)
Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192u')
-rw-r--r-- | drivers/staging/rtl8192u/r8192U_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192u/r8192U_core.c b/drivers/staging/rtl8192u/r8192U_core.c index 678ecf6d2b79..e06864f64beb 100644 --- a/drivers/staging/rtl8192u/r8192U_core.c +++ b/drivers/staging/rtl8192u/r8192U_core.c @@ -3516,7 +3516,7 @@ static void watch_dog_timer_callback(unsigned long data) queue_delayed_work(priv->priv_wq, &priv->watch_dog_wq, 0); mod_timer(&priv->watch_dog_timer, - jiffies + MSECS(IEEE80211_WATCH_DOG_TIME)); + jiffies + msecs_to_jiffies(IEEE80211_WATCH_DOG_TIME)); } static int _rtl8192_up(struct net_device *dev) { |