staging: wlan-ng: Remove flush_scheduled_work
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Wed, 17 Feb 2016 17:36:14 +0000 (23:06 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Feb 2016 22:53:27 +0000 (14:53 -0800)
commit5be2f42b50fd76ca5cba2927ab88b7974d8ee8b5
treef49a63049dce6c0644609fd7fa6d6143c9810582
parent896774f631d8377a674fd2b79097b57bab297c16
staging: wlan-ng: Remove flush_scheduled_work

flush_scheduled_work() is scheduled for deprecation. Use
cancel_work_sync() instead to ensure that there is no pending or
running work item.

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/prism2usb.c