dvb: don't use flush_scheduled_work()
commit0d9c76aedbac3ad8ac4e99a2b441bc3f91dd6679
authorTejun Heo <tj@kernel.org>
Fri, 24 Dec 2010 15:00:17 +0000 (24 16:00 +0100)
committerTejun Heo <tj@kernel.org>
Fri, 24 Dec 2010 15:00:17 +0000 (24 16:00 +0100)
treeed63d25f7034651be0afd7fbe046cfa464b7aece
parent99ef21216b4f85c56392ed41500d2f07f58cc360
dvb: don't use flush_scheduled_work()

flush_scheduled_work() is deprecated and scheduled to be removed.

* Flush the used works directly.

* Replace the deprecated cancel_rearming_delayed_work() +
  flush_scheduled_work() -> cancel_delayed_work_sync().

* Make sure mantis->uart_work isn't running on exit.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: linux-media@vger.kernel.org
drivers/media/dvb/dvb-core/dvb_net.c
drivers/media/dvb/dvb-usb/dvb-usb-remote.c
drivers/media/dvb/mantis/mantis_evm.c
drivers/media/dvb/mantis/mantis_uart.c