]> git.karo-electronics.de Git - linux-beck.git/commit
Staging: rtl8712: Use del_timer
authorVaishali Thakkar <vthakkar1994@gmail.com>
Sat, 28 Feb 2015 02:43:54 +0000 (08:13 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Mar 2015 01:07:05 +0000 (17:07 -0800)
commit4eef520d2499e0c5cfed65f4a91fb0f4663a26ec
treedadcfc272bf7522e41af0a36b72a386754426907
parent3d0e486eef578097a7cfed7c4c913e31814e8c4c
Staging: rtl8712: Use del_timer

Use timer API function del_timer instead of driver
specific function _cancel_timer_ex as it is a standard
way for deactivating a timer.

This is done using Coccinelle and semantic patch used for
this is as follows:

@@ expression x; @@
- _cancel_timer_ex (&x);
+ del_timer (&x);

Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/rtl8712_recv.c