summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/dvb-usb/technisat-usb2.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-01-11 00:42:12 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-22 00:31:33 +0100
commit4ec02ea0d88d811f61e2c7765418eff770936871 (patch)
treeffe702df0d6b589452f16e218d5a6cf78b049a46 /drivers/media/dvb/dvb-usb/technisat-usb2.c
parent[media] technisat-usb2: added driver for Technisat's USB2.0 DVB-S/S2 receiver (diff)
downloadlinux-4ec02ea0d88d811f61e2c7765418eff770936871.tar.xz
linux-4ec02ea0d88d811f61e2c7765418eff770936871.zip
[media] technisat-usb2: Don't use a deprecated call
drivers/media/dvb/dvb-usb/technisat-usb2.c: In function ‘technisat_usb2_disconnect’: drivers/media/dvb/dvb-usb/technisat-usb2.c:770: warning: ‘cancel_rearming_delayed_work’ is deprecated (declared at include/linux/workqueue.h:421) Cc: Patrick Boettcher <pboettcher@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/technisat-usb2.c')
-rw-r--r--drivers/media/dvb/dvb-usb/technisat-usb2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-usb/technisat-usb2.c b/drivers/media/dvb/dvb-usb/technisat-usb2.c
index 406602a1499d..10151aa49239 100644
--- a/drivers/media/dvb/dvb-usb/technisat-usb2.c
+++ b/drivers/media/dvb/dvb-usb/technisat-usb2.c
@@ -767,7 +767,7 @@ static void technisat_usb2_disconnect(struct usb_interface *intf)
if (dev != NULL) {
struct technisat_usb2_state *state = dev->priv;
if (state != NULL) {
- cancel_rearming_delayed_work(&state->green_led_work);
+ cancel_delayed_work_sync(&state->green_led_work);
flush_scheduled_work();
}
}