From patchwork Fri Sep 28 11:26:43 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Martin X-Patchwork-Id: 1518771 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 9EFD140B1E for ; Fri, 28 Sep 2012 11:27:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757141Ab2I1L1F (ORCPT ); Fri, 28 Sep 2012 07:27:05 -0400 Received: from mail-we0-f174.google.com ([74.125.82.174]:61447 "EHLO mail-we0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757026Ab2I1L1E (ORCPT ); Fri, 28 Sep 2012 07:27:04 -0400 Received: by mail-we0-f174.google.com with SMTP id t9so1294706wey.19 for ; Fri, 28 Sep 2012 04:27:03 -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=4zK9YSerhD5NQiYp96J6fwFeStupQpEMwHqMe8gyHM8=; b=hSNU+1exXWbz9dTRWuwhNW+OIRHZn/8ylDSxwA8RwUJ+TRhD2x1jjRTI5zSDltyOdE j2jWouKgspDkcY4OlKP/D9qb6D/M2vTWq0lb/lS57IWYIOApjLUyAOdN/UTEpWeicMPu D7g94Y11JM6sQmslQ6myQhKIBXVvS/hr/Pi4xeWOLLO9cFSK4t5wBENXQeIA3RLD7/zc BnpM1bUDbN/qJpaY4IHTrZQv+G97nxM/6CXoO1kEejwN7i8UWgyLuEwDt95kVhEK+TTd a3XJnZcn4C0wQyl8IwktZw9QeGUymie2r1fPy79rpFZsUJpfTT3/XtE26g7POaFpATDB MmNA== Received: by 10.180.84.202 with SMTP id b10mr3310857wiz.13.1348831623548; Fri, 28 Sep 2012 04:27:03 -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 k2sm18821057wiz.7.2012.09.28.04.27.01 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 28 Sep 2012 04:27:03 -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 v3 4/4] ov7670: remove legacy ctrl callbacks. Date: Fri, 28 Sep 2012 13:26:43 +0200 Message-Id: <1348831603-18007-5-git-send-email-javier.martin@vista-silicon.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1348831603-18007-1-git-send-email-javier.martin@vista-silicon.com> References: <1348831603-18007-1-git-send-email-javier.martin@vista-silicon.com> X-Gm-Message-State: ALoCoQkrvf00m+jcJMw58NlZY7/qIDzwM/zC1PRWoAIXKmILOa2p58OVXbkdcV6VZrZ8478yfrbL 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. Reviewed-by: Hans Verkuil 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 2f6470a..361b101 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