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: 14732 Received: from mail.tu-berlin.de ([130.149.7.33]) by www.linuxtv.org with esmtp (Exim 4.72) (envelope-from ) id 1THYAH-00016h-By for patchwork@linuxtv.org; Fri, 28 Sep 2012 12:51:25 +0200 X-tubIT-Incoming-IP: 209.132.180.67 Received: from vger.kernel.org ([209.132.180.67]) by mail.tu-berlin.de (exim-4.75/mailfrontend-4) with esmtp for id 1THYAG-0007Ta-C7; Fri, 28 Sep 2012 12:51:25 +0200 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 X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2012.9.28.104221 X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' MULTIPLE_RCPTS 0.1, HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1200_1299 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, URI_ENDS_IN_HTML 0, __ANY_URI 0, __CP_URI_IN_BODY 0, __HAS_FROM 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __HAS_X_MAILING_LIST 0, __MIME_TEXT_ONLY 0, __MULTIPLE_RCPTS_CC_X2 0, __SANE_MSGID 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_NO_WWW 0, __URI_NS ' 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