From: Vaishali Thakkar Date: Wed, 11 Mar 2015 06:11:07 +0000 (+0530) Subject: Staging: rtl8188eu: Eliminate use of _set_timer X-Git-Tag: omap-for-v4.2/o2_dc~155^2~138^2~397 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d4efe3e95805982b1d8f3f54203c67ba6687338;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed