All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/6] staging: rtl8192u: Remove MSECS macro and its instances
@ 2016-02-13  4:33 Amitoj Kaur Chawla
  0 siblings, 0 replies; only message in thread
From: Amitoj Kaur Chawla @ 2016-02-13  4:33 UTC (permalink / raw)
  To: outreachy-kernel

This patchset removes MSECS macro from rtl8192u driver and all the
instances by replacing MSECS with direct call to msecs_to_jiffies()

The Coccinelle semantic patch used to make this change is as follows:

//<smpl>
@@
expression e;
@@

- MSECS(e)
+ msecs_to_jiffies(e)
//</smpl>

Amitoj Kaur Chawla (6):
  staging: rtl8192u: ieee80211: rtl819x_TSProc: Replace MSECS with
    msecs_to_jiffies
  staging: rtl8192u: ieee80211: rtl819x_BAProc: Replace MSECS with
    msecs_to_jiffies
  staging: rtl8192u: ieee80211: ieee80211_softmac: Replace MSECS with
    msecs_to_jiffies
  staging: rtl8192u: ieee80211: ieee80211_rx: Replace MSECS with
    msecs_to_jiffies
  staging: rtl8192u: r8192U_dm: Replace MSECS with msecs_to_jiffies
  staging: rtl8192u: ieee80211: Remove MSECS macro

Changes in v2:
        -In Patch 2/6 Remove extra line introduced in previous version.

 drivers/staging/rtl8192u/ieee80211/ieee80211.h         | 1 -
 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c      | 3 ++-
 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c | 9 ++++++---
 drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c    | 2 +-
 drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c    | 9 ++++++---
 drivers/staging/rtl8192u/r8192U_dm.c                   | 9 ++++++---
 6 files changed, 21 insertions(+), 12 deletions(-)

-- 
1.9.1



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-02-13  4:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-13  4:33 [PATCH v2 0/6] staging: rtl8192u: Remove MSECS macro and its instances Amitoj Kaur Chawla

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.