From: Vaishali Thakkar Date: Wed, 11 Mar 2015 06:11:24 +0000 (+0530) Subject: Staging: rtl8188eu: Eliminate use of _init_timer X-Git-Tag: omap-for-v4.2/o2_dc~155^2~138^2~396 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28af7ea81e161eadb48051ec0e280666e925ccd8;p=pandora-kernel.git Staging: rtl8188eu: Eliminate use of _init_timer This patch introduces the use of API function setup_timer instead of driver specific function init_timer as it is the preferred and standard way to set and setup the timer. To be compatible with the changes, argument types of referenced functions are changed. Also, definition of function _init_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, y; identifier a, b;@@ - _init_timer (&x, y, a, b); + setup_timer (&x, a, (unsigned long)b); Signed-off-by: Vaishali Thakkar Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed