summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-01-10 21:42:12 -0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-21 20:31:33 -0300
commit4ec02ea0d88d811f61e2c7765418eff770936871 (patch)
treeffe702df0d6b589452f16e218d5a6cf78b049a46
parent739ff04f63ba6498b287021649cb999e639c3c83 (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>
-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();
}
}