From patchwork Fri Sep 28 10:50:58 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Martin X-Patchwork-Id: 1518641 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 55A2E3FE80 for ; Fri, 28 Sep 2012 10:51:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757484Ab2I1KvW (ORCPT ); Fri, 28 Sep 2012 06:51:22 -0400 Received: from mail-wi0-f172.google.com ([209.85.212.172]:52326 "EHLO mail-wi0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757271Ab2I1KvV (ORCPT ); Fri, 28 Sep 2012 06:51:21 -0400 Received: by wibhq12 with SMTP id hq12so7633668wib.1 for ; Fri, 28 Sep 2012 03:51:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=amPKPLMR6Ydt2poHVOWozQkq9drM6TSJ4hXbTOCSzUk=; b=jBGuOvvAL5LmboIr35nuKfCfH/uc8WFMZpRh7jDCNNEDR+3+akV83Mh+KllQRcFwvo ZS0TkbCIU4mg9DbzhjMxkSolYlnZF/Zeb8B/EXhj/9Q2FexfsuV+cABDwxq9uuw1uMhZ Xl3LcHn5umQ+r++YSE2Yu6sSMkN1u9Ca6aI9ZLI9vi3bXICRIU1rw4Epg1/bnqcD006Z wkTOkkhuzvqZwvOGHClL/2LbfvyzmEbwMtjsXyLJPBQ1i0WEoZ/WFasD4WdIu5TCUNEv c8zRetpBxD7VobchCdnoxj7YGhWDrI5MTwKaRnbegtx77zH6aG/GdhSosZ7nsaSAIJJS 8sFQ== Received: by 10.180.100.97 with SMTP id ex1mr3109700wib.17.1348829480394; Fri, 28 Sep 2012 03:51:20 -0700 (PDT) Received: from piscis.vsilicon.net (122.251.106.212.dynamic.jazztel.es. [212.106.251.122]) by mx.google.com with ESMTPS id cu1sm36060860wib.6.2012.09.28.03.51.18 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 28 Sep 2012 03:51:19 -0700 (PDT) From: Javier Martin To: linux-media@vger.kernel.org Cc: laurent.pinchart@ideasonboard.com, hverkuil@xs4all.nl, rusty@rustcorp.com.au, dsd@laptop.org, mchehab@infradead.org, corbet@lwn.net, hdegoede@redhat.com, Javier Martin Subject: [PATCH v2 4/4] ov7670: remove legacy ctrl callbacks. Date: Fri, 28 Sep 2012 12:50:58 +0200 Message-Id: <1348829458-13812-5-git-send-email-javier.martin@vista-silicon.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1348829458-13812-1-git-send-email-javier.martin@vista-silicon.com> References: <1348829458-13812-1-git-send-email-javier.martin@vista-silicon.com> X-Gm-Message-State: ALoCoQkAeUMoA+INLpvkVKqVyBn95dmRLkDQEnx/ZZjHadHrE/9yYm65km5DE/L5IHjFFWuhaAb+ Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org via-camera and mcam-core were the only bridge drivers that used ov7670. Since now they have been moved to use the ctrl framework, the old legacy callbacks in the ov7670 can be removed. Signed-off-by: Javier Martin --- drivers/media/i2c/ov7670.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/media/i2c/ov7670.c b/drivers/media/i2c/ov7670.c index babd55c..113a4f3 100644 --- a/drivers/media/i2c/ov7670.c +++ b/drivers/media/i2c/ov7670.c @@ -1504,13 +1504,6 @@ static int ov7670_s_register(struct v4l2_subdev *sd, struct v4l2_dbg_register *r static const struct v4l2_subdev_core_ops ov7670_core_ops = { .g_chip_ident = ov7670_g_chip_ident, - .g_ext_ctrls = v4l2_subdev_g_ext_ctrls, - .try_ext_ctrls = v4l2_subdev_try_ext_ctrls, - .s_ext_ctrls = v4l2_subdev_s_ext_ctrls, - .g_ctrl = v4l2_subdev_g_ctrl, - .s_ctrl = v4l2_subdev_s_ctrl, - .queryctrl = v4l2_subdev_queryctrl, - .querymenu = v4l2_subdev_querymenu, .reset = ov7670_reset, .init = ov7670_init, #ifdef CONFIG_VIDEO_ADV_DEBUG