From: Fabio Estevam Date: Wed, 10 Oct 2012 02:33:29 +0000 (-0300) Subject: [media] coda: Do not use __cancel_delayed_work() X-Git-Tag: v3.9-rc5~2^2~831 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2249b45701f9817f91d9a334fa30147e133badc4;p=platform%2Fkernel%2Flinux-3.10.git [media] coda: Do not use __cancel_delayed_work() commit 136b5721d (workqueue: deprecate __cancel_delayed_work()) made __cancel_delayed_work deprecated. Use cancel_delayed_work instead and get rid of the following warning: drivers/media/platform/coda.c:1543: warning: '__cancel_delayed_work' is deprecated (declared at include/linux/workqueue.h:437) Signed-off-by: Fabio Estevam Acked-by: Tejun Heo Acked-by: Javier Martin Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c index cd04ae2..7640505 100644 --- a/drivers/media/platform/coda.c +++ b/drivers/media/platform/coda.c @@ -1540,7 +1540,7 @@ static irqreturn_t coda_irq_handler(int irq, void *data) u32 wr_ptr, start_ptr; struct coda_ctx *ctx; - __cancel_delayed_work(&dev->timeout); + cancel_delayed_work(&dev->timeout); /* read status register to attend the IRQ */ coda_read(dev, CODA_REG_BIT_INT_STATUS);