• T
    dvb: don't use flush_scheduled_work() · 0d9c76ae
    Tejun Heo 提交于
    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: NTejun Heo <tj@kernel.org>
    Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
    Cc: linux-media@vger.kernel.org
    0d9c76ae
mantis_uart.c 4.3 KB