linux/drivers/net/irda
Tejun Heo 23f333a2bf drivers/net: don't use flush_scheduled_work()
flush_scheduled_work() is on its way out.  This patch contains simple
conversions to replace flush_scheduled_work() usage with direct
cancels and flushes.

Directly cancel the used works on driver detach and flush them in
other cases.

The conversions are mostly straight forward and the only dangers are,

* Forgetting to cancel/flush one or more used works.

* Cancelling when a work should be flushed (ie. the work must be
  executed once scheduled whether the driver is detaching or not).

I've gone over the changes multiple times but it would be much
appreciated if you can review with the above points in mind.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jay Cliburn <jcliburn@gmail.com>
Cc: Michael Chan <mchan@broadcom.com>
Cc: Divy Le Ray <divy@chelsio.com>
Cc: e1000-devel@lists.sourceforge.net
Cc: Vasanthy Kolluri <vkolluri@cisco.com>
Cc: Samuel Ortiz <samuel@sortiz.org>
Cc: Lennert Buytenhek <buytenh@wantstofly.org>
Cc: Andrew Gallatin <gallatin@myri.com>
Cc: Francois Romieu <romieu@fr.zoreil.com>
Cc: Ramkrishna Vepa <ramkrishna.vepa@exar.com>
Cc: Matt Carlson <mcarlson@broadcom.com>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Cc: Shreyas Bhatewara <sbhatewara@vmware.com>
Cc: netdev@vger.kernel.org
2010-12-12 16:45:14 +01:00
..
Kconfig
Makefile
act200l-sir.c
actisys-sir.c
ali-ircc.c Fix typo: configuation => configuration 2010-09-23 11:46:48 +02:00
ali-ircc.h
au1k_ir.c
au1000_ircc.h
bfin_sir.c net/irda: bfin_sir: IRDA is not affected by anomaly 05000230 2010-05-23 23:57:45 -07:00
bfin_sir.h
donauboe.c drivers/net: return operator cleanup 2010-09-26 18:34:29 -07:00
donauboe.h Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
ep7211-sir.c
esi-sir.c
girbil-sir.c
irda-usb.c irda: Test index before read in stir421x_patch_device() 2010-10-11 02:11:58 +02:00
irda-usb.h drivers/net: use __packed annotation 2010-06-03 03:18:23 -07:00
irtty-sir.c
irtty-sir.h
kingsun-sir.c
ks959-sir.c drivers/net: use __packed annotation 2010-06-03 03:18:23 -07:00
ksdazzle-sir.c drivers/net: use __packed annotation 2010-06-03 03:18:23 -07:00
litelink-sir.c
ma600-sir.c
mcp2120-sir.c
mcs7780.c drivers/net: don't use flush_scheduled_work() 2010-12-12 16:45:14 +01:00
mcs7780.h
nsc-ircc.c drivers/net: return operator cleanup 2010-09-26 18:34:29 -07:00
nsc-ircc.h
old_belkin-sir.c
pxaficp_ir.c
sa1100_ir.c
sh_irda.c Merge master.kernel.org:/pub/scm/linux/kernel/git/lethal/genesis-2.6 into devel-stable 2010-08-06 18:13:19 +01:00
sh_sir.c SuperH IrDA: correct Baud rate error correction 2010-11-21 10:09:53 -08:00
sir-dev.h
sir_dev.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2010-10-23 11:47:02 -07:00
sir_dongle.c
smsc-ircc2.c drivers/net: return operator cleanup 2010-09-26 18:34:29 -07:00
smsc-ircc2.h
smsc-sio.h
stir4200.c drivers/net: return operator cleanup 2010-09-26 18:34:29 -07:00
tekram-sir.c
toim3232-sir.c
via-ircc.c drivers/net/irda: Eliminate memory leak 2010-08-25 16:36:49 -07:00
via-ircc.h drivers/net: return operator cleanup 2010-09-26 18:34:29 -07:00
vlsi_ir.c
vlsi_ir.h drivers/net: return operator cleanup 2010-09-26 18:34:29 -07:00
w83977af.h
w83977af_ir.c
w83977af_ir.h