1
0
Fork 0
alistair23-linux/drivers/staging
Vaishali Thakkar 6501c8e7d8 Staging: rtl8712: Eliminate use of _cancel_timer_ex
Use timer API function del_timer_sync instead of driver
specific function _cancel_timer_ex as besides deactivating
a timer, it ensures that the timer is stopped on all
CPUs before the driver exists. Also, definition of function
_cancel_timer_ex is removed as it is no longer needed after
this change.

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

@@ expression x; @@

- _cancel_timer_ex (&x);
+ del_timer_sync (&x);

Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-03-16 15:46:07 +01:00
..
android staging: android: ion: fix some format strings 2015-03-01 18:46:15 -08:00
board Merge branch 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild 2015-02-19 10:36:45 -08:00
clocking-wizard staging: clocking-wizard: Handle invalid clk in notifier 2015-01-17 16:06:20 -08:00
comedi staging: comedi: remove break after return 2015-03-15 18:41:15 +01:00
dgap Staging: dgap: Remove unused variable 2015-03-09 13:30:40 +01:00
dgnc Staging: dgnc: Use goto for spinlock release before return 2015-03-12 11:13:41 +01:00
emxx_udc Staging: emxx_udc: Remove custom printk macro ERR 2015-03-06 09:54:26 -08:00
fbtft staging: fbtft: fbtft_device.c: remove extra parentheses around function arguments 2015-03-15 18:41:13 +01:00
fsl-mc staging: fsl-mc: fsl-mc object allocator driver 2015-03-06 17:29:10 -08:00
ft1000 staging: ft1000: ft1000-usb: ft1000_hw.c: adjust function arguments 2015-03-15 18:41:12 +01:00
fwserial staging: fwserial: remove extra parentheses around function arguments 2015-03-15 18:41:11 +01:00
gdm72xx Staging: gdm72xx: clean dev_err logging 2015-03-06 15:55:36 -08:00
gdm724x staging: gdm724x: fix line limit coding style issue in gdm_lte.c 2015-01-17 14:57:43 -08:00
goldfish staging: goldfish: remove extra parentheses around function arguments 2015-03-15 18:41:14 +01:00
gs_fpgaboot staging: Remove <linux/moduleparam.h> header. 2015-03-01 17:09:52 -08:00
i2o staging: i2o: Remove use of seq_printf return value 2015-03-06 16:35:54 -08:00
iio staging: iio: Use kcalloc instead of kzalloc. 2015-03-15 18:41:09 +01:00
lustre Staging: lustre: Remove space to improve code style. 2015-03-15 18:41:11 +01:00
media staging: media: lirc: remove pointer to pointer cast on function arguments 2015-03-15 18:41:11 +01:00
mt29f_spinand staging: mt29f_spinand: remove pointer to pointer cast in function argument 2015-03-15 18:41:11 +01:00
netlogic Staging: NetLogic: Coding style correction 2015-01-17 15:17:10 -08:00
nvec Staging: nvec: Add paragraph to describe kconfig symbol 2015-02-26 17:14:07 -08:00
octeon Staging: octeon: Fixed a typo 2015-01-17 15:00:23 -08:00
octeon-usb Staging: octeon-usb: Fixed a typo 2015-01-17 15:00:23 -08:00
olpc_dcon staging: olpc_dcon: fix sparse symbol not declared warning 2015-01-17 15:17:10 -08:00
ozwpan staging: ozwpan: Move code from success handling to error handling 2015-03-06 16:14:08 -08:00
panel staging: panel: initialize lcd if lcd enabled 2015-03-06 16:31:58 -08:00
rtl8188eu Staging: rtl8188eu: Remove unneeded return statement 2015-03-15 18:41:10 +01:00
rtl8192e staging: rtl8192e: Use kzalloc instead of kmalloc. 2015-03-15 18:41:09 +01:00
rtl8192u Staging: rtl8192u: Replace printk() with netdev_dbg() 2015-03-15 18:41:10 +01:00
rtl8712 Staging: rtl8712: Eliminate use of _cancel_timer_ex 2015-03-16 15:46:07 +01:00
rtl8723au drivers: staging: rtl8723au: hal: Removed unnecessary parentheses 2015-03-09 13:37:22 +01:00
rts5208 staging: rts5208: Convert variable from int to bool and propagate the change to function parameters 2015-03-06 17:25:01 -08:00
skein Staging: skein: Remove do-while(0) from single statement macros 2015-03-15 18:41:15 +01:00
slicoss Staging: slicoss: clean dev_err logging 2015-03-06 15:55:36 -08:00
sm7xxfb staging: sm7xxfb: make vgamode static 2015-03-06 16:35:54 -08:00
sm750fb staging: sm750fb: remove parantheses from return statements 2015-03-15 18:41:15 +01:00
speakup Staging: speakup: Remove unused variable 2015-03-09 13:30:40 +01:00
ste_rmi4 Staging: ste_rmi4: clean dev_err logging 2015-03-06 15:55:36 -08:00
unisys staging: unisys: Use kcalloc instead of kzalloc. 2015-03-15 18:41:08 +01:00
vme staging: vme: mmap() support for vme_user 2015-03-06 17:03:22 -08:00
vt6655 staging: vt6655: Fixes the checkpatch.pl warning 2015-03-15 18:41:10 +01:00
vt6656 staging: vt6656: Fix possible leak in vnt_download_firmware() 2015-03-06 16:26:58 -08:00
wlan-ng staging: wlan-ng: Use kzalloc instead of kmalloc. 2015-03-15 18:41:10 +01:00
xgifb staging: xgifb: remove extra parentheses around right bit shift operations 2015-03-06 15:22:43 -08:00
Kconfig staging: fsl-mc: Freescale Management Complex (fsl-mc) bus driver 2015-03-06 17:28:09 -08:00
Makefile staging: fsl-mc: Freescale Management Complex (fsl-mc) bus driver 2015-03-06 17:28:09 -08:00
staging.c