linux-kernel-test/drivers/staging/rtl8188eu
Vaishali Thakkar 4d4efe3e95 Staging: rtl8188eu: Eliminate use of _set_timer
This patch introduces the use of API function mod_timer
instead of driver specific function _set_timer as it is
a more efficient and standard way to update the expire
field of an active timer. Also, definition of function
_set_timer is removed as it is no longer needed after
this change.

Here, these cases are handled using Coccinelle and
semantic patch used for this is as follows:

@@ expression x; expression y;@@

- _set_timer (&x, y);
+ mod_timer (&x, jiffies + msecs_to_jiffies (y));

Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-03-16 16:04:55 +01:00
..
core Staging: rtl8188eu: Eliminate use of _set_timer 2015-03-16 16:04:55 +01:00
hal staging: rtl8188eu: use %pM specifier instead of passing direct values 2015-03-16 16:04:24 +01:00
include Staging: rtl8188eu: Eliminate use of _set_timer 2015-03-16 16:04:55 +01:00
os_dep Staging: rtl8188eu: Eliminate use of _set_timer 2015-03-16 16:04:55 +01:00
Kconfig staging: rtl8188eu: Remove P2P support 2014-07-09 21:08:47 -07:00
Makefile staging: rtl8188eu: Remove odm_debug.c 2014-09-23 23:47:12 -07:00
TODO