media/video: don't use flush_scheduled_work()
authorTejun Heo <tj@kernel.org>
Fri, 24 Dec 2010 15:14:20 +0000 (16:14 +0100)
committerTejun Heo <tj@kernel.org>
Fri, 24 Dec 2010 15:14:20 +0000 (16:14 +0100)
commit8c71778cbf2c8beaefaa2dee5478aa0622d96682
tree706fbdc96f696454d96538834b0d459967232e91
parent707bcf326bd50c875d82bd2e7c31dcfb92b7e813
media/video: don't use flush_scheduled_work()

This patch converts the remaining users of flush_scheduled_work() in
media/video.

* bttv-input.c and cx23885-input.c don't use workqueue at all.  No
  need to flush.

* Make omap24xxcam.c and saa7134-empress.c flush the used work
  directly.

* In fd_defio.c, replace cancel_delayed_work() +
  flush_scheduled_work() with cancel_delayed_work_sync().  While at
  it, replace the deprecated cancel_rearming_delayed_work() with
  cancel_delayed_work_sync().

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/bt8xx/bttv-input.c
drivers/media/video/cx23885/cx23885-input.c
drivers/media/video/omap24xxcam.c
drivers/media/video/saa7134/saa7134-empress.c