From patchwork Wed Oct 10 03:33:29 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 1572101 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id F3803DF24C for ; Wed, 10 Oct 2012 03:33:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754365Ab2JJDdq (ORCPT ); Tue, 9 Oct 2012 23:33:46 -0400 Received: from mail-gg0-f174.google.com ([209.85.161.174]:42014 "EHLO mail-gg0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753014Ab2JJDdq (ORCPT ); Tue, 9 Oct 2012 23:33:46 -0400 Received: by mail-gg0-f174.google.com with SMTP id k5so17093ggd.19 for ; Tue, 09 Oct 2012 20:33:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=+GeHBYcYcQ0Jtxlw4ce0LQOnzjGc033GOpvjuAm1Aro=; b=RPbCTar1Ro0FCz7i/vwxzAxajdLbEYP1+Od0iMrTBXHJU5vu7jKmo+sMtKT8vC996S le71alznh8x7YUqNr2TbzYPiX02f8LLWgBLGt9FLvvkNbkOgVSI8XS5ibBerPvR2/gaq BFzBgZhRxAdcihUqKXRqUfwxBhCV3qCe0w54gyXQXp3vXqrGawXigvzVFnmPiphR3VxZ kwLwmb+pb0AjsIaipIS6JAihBofFQV1+vUHIzbTHLaUjc5YOz2s0JMaDvDBVejmqXB4D +ma6oHmI8+ZAQodFVC9bmzb8uiFAsXuywyTbCXEaMJQn0U8x57CJ54WiDAqDpJXkXyfb Z3wQ== Received: by 10.236.44.196 with SMTP id n44mr21320878yhb.117.1349840025246; Tue, 09 Oct 2012 20:33:45 -0700 (PDT) Received: from fabio-Latitude-E6410.cps.virtua.com.br ([201.82.136.72]) by mx.google.com with ESMTPS id r43sm183951yhc.0.2012.10.09.20.33.43 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 09 Oct 2012 20:33:44 -0700 (PDT) From: Fabio Estevam To: mchehab@infradead.org Cc: javier.martin@vista-silicon.com, linux-media@vger.kernel.org, tj@kernel.org, kernel@pengutronix.de, Fabio Estevam Subject: [PATCH] [media] coda: Do not use __cancel_delayed_work() Date: Wed, 10 Oct 2012 00:33:29 -0300 Message-Id: <1349840009-14014-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org From: Fabio Estevam 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 --- drivers/media/platform/coda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);