diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-01-10 18:42:12 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-03-21 19:31:33 -0400 |
commit | 4ec02ea0d88d811f61e2c7765418eff770936871 (patch) | |
tree | ffe702df0d6b589452f16e218d5a6cf78b049a46 /drivers/media/dvb/dvb-usb | |
parent | 739ff04f63ba6498b287021649cb999e639c3c83 (diff) |
[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')
-rw-r--r-- | drivers/media/dvb/dvb-usb/technisat-usb2.c | 2 |
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) | |||
767 | if (dev != NULL) { | 767 | if (dev != NULL) { |
768 | struct technisat_usb2_state *state = dev->priv; | 768 | struct technisat_usb2_state *state = dev->priv; |
769 | if (state != NULL) { | 769 | if (state != NULL) { |
770 | cancel_rearming_delayed_work(&state->green_led_work); | 770 | cancel_delayed_work_sync(&state->green_led_work); |
771 | flush_scheduled_work(); | 771 | flush_scheduled_work(); |
772 | } | 772 | } |
773 | } | 773 | } |